Jump to content

matt.casavecchia

Members
  • Posts

    2
  • Joined

  • Last visited

matt.casavecchia's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. @attila I'm having trouble extracting data from the "rgwSample" variable on the C++ example "DigitalIn_record.cpp". I'm measuring a 1Hz square wave on DIO0. Ideally i'm trying to see when the digital input switches from 0 to 1. I have it set to take 100 samples at 10Hz... The program returns immediately with only rgwSamples[0] through rgwSamples[6] filled in. Can you help shed some light on how to use this variable properly & how to figure out what time these measurements were taken at.
  2. Right now I'm trying to consume digital Input measurements and use them in a C++ (Linux) application. Currently, I'm writing to file from the Waveforms application. Then running the c++ application which reads from the file which waveforms is writing to. Is there a better way to do this? Any Ideas would be appreciated . if there is a way for waveforms to send udp packets that might also work for this application... EDIT: I see there's a way to do this with the sdk but I'm having trouble linking the library with CMAKE. Has anyone used CLION+CMAKE with this dwf dynamic library?
×
×
  • Create New...