01-29-2013 09:42 AM
I get an error trying to read more than 200 samples using the DAQ Assist express VI in case 2 of the attached VI,
The error reads:
DAQmx Read (Analog 1D Wfm NChan NSamp).vi:1<append>
<B>Property: </B>RelativeTo
<B>Corresponding Value: </B>Current Read Position
<B>Property: </B>Offset
<B>Corresponding Value: </B>
<B>Task Name: </B>_unnamedTask<4>
Kinda new so not really sure were to start.
Thanks for the help.
01-29-2013 10:28 AM
Ok, there is some math here. You are sampling at 20Hz. 200 Samples at 20Hz gives us 10 seconds. If you go to the Advanced Timing tab of the DAQ Assistant, you will see a timeout setting. It is currently 10 seconds. So if you try to sample more than 200 samples (10 seconds worth), you will timeout. If you want 400 samples, you need the timeout to be at least 20 seconds or sample faster.