10-16-2016 11:35 PM - edited 10-16-2016 11:46 PM
Hello
If assume the AI Acquire Waveforms VI same as DAQ Assistant, How we should specify an acquisition mode to N sample or continuous sample.
Thank you for helping,
10-17-2016 02:11 AM
Hi Pattra,
you should replace AIAcquireWaveforms by DAQmxRead function!
How we should specify an acquisition mode to N sample or continuous sample.
There are other DAQmx functions where you define those settings, like DAQmxTiming. You need to specify those parameters as was done in that very old original software you are trying to upgrade!
10-17-2016 03:27 AM
Thank you again for your advice.
But I am still confused about that. I attach pictures of tradition code. Could you change for me to DAQmx code that I am not sure about specification to N sample or Continuous sample.
10-17-2016 03:44 AM - edited 10-17-2016 03:46 AM
Hi Pattra,
Could you change for me to DAQmx code
How should I do this? Should I use GIMP to paint in the image?
When you want to have code you should attach code (aka VI)!
I am not sure about specification to N sample or Continuous sample
The sample reads just 1000 samples at 1kHz samplerate: why do you want to read "continuously"?
Btw. LabVIEW comes with a huge library of example VIs, explaining how to use all those functions. There are a lot of VIs explaining how to use DAQmx functions. Just examine and try them!