Jump to content

Guy R

Members
  • Posts

    4
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Guy R's Achievements

Newbie

Newbie (1/4)

1

Reputation

  1. Hi there, I'm using the C++ waveforms SDK to program a Digital discovery, and I'm trying to build wrapper classes for certain functions within the API. My problem is that when I begin to call some of the API functions within a class' member functions, I get errors claiming said API functions were not declared within the scope. I believe this problem could be fixed if I was able to use a scope operator or namespace, something like this for example: HDWF::FDwfDigitalSpiWrite(); or using namespace HDWF Would anyone be able to help point me in the right direction? Thanks, Guy
  2. Hi everyone, I've been familiarising myself with the waveforms C++ SDK and I'm currently trying to use the SPI functionality with a Digital discovery. I have been successful in setting up a clock signal, sending data and manipulating a chip select line however, I have been struggling to precisely control when my chip select shifts between high and low states. My clock frequency is 10MHz, and as a basic test I have been sending single characters. So ideally I would like to be able to shift my chip select within 50 ns, keep it on for 800 ns (8 bits x 100 ns cycles) and shift it again after. I have only been able to alter the chip select over a scale of several microseconds. How can I go about fixing this? Thanks
  3. Hi there, I'm trying to get set up with the waveforms SDK such that I can write custom programs in C++ for the Digital Discovery, looking through the SDK reference manual, I'm lost on how to actually get said custom programs running. I was able to link and compile the provided sample programs within code::blocks but I have no idea how to take it from here. Any help would be greatly appreciated. Thanks
×
×
  • Create New...