03-03-2013 07:19 PM
I would read the analog input into few chunks of data. How do I do it?
03-04-2013 10:10 AM
Hello JimSi,
Can you please elaborate more on your question? From the image, I can see that you are running a finite acquisition, so you need to read all data back from the buffer at once. If you want to read smaller ‘’chunks’’ of data, then I would recommend using a continuous acquisition with Number of Samples per Channel wired into the DAQmx Read.vi. Take a look at the example Voltage – Continuous Input.vi given in the Example Finder under Hardware Input and Output>>DAQmx>>Analog Input.
Best Regards,
Alina M
03-04-2013 01:35 PM
Alina,
I follow your instruction and make it work. Thanks.
Now I would output the few chunks of data. I encounter a problem. DAQmx only output the first chunk.
thanks
03-05-2013 02:15 PM
Hello JimSi,
Please take a look to the example Voltage – Continuous Output.vi in the Example Finder. In the While Loop, they are using a DAQmx Is Task Done?.VI to keep writing continuously. Which VI is the one writing once in the attached image?
Regards,
Alina M