LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

outputing voltages from a file using daqmx express wont output all samples

Hi,
 
I am trying to output 2 voltages from a file to 2 analog outputs.
The file has 5120 sample points and the sampling rate is 128 Hz.
I enter sample and sampling rate data into DAQmx Epress VI although when i run th VI only about 10 seconds or 1200 sample points are output whereas it should be 5120 sample points and 40 seconds worth of data.
I have attached the VI and text file with sample points.
The VI looks very simple and I just can't understand why it is not working.
 
Thanks
 
John
0 Kudos
Message 1 of 3
(2,511 Views)
Welcome to the NI Developer Zone !


This unexpected behavior is due to the 10s timeout that is set by default. Double-click on the Express VI to open the DAQ Assistant, go to the third tab and change the timeout to -1.

If the help is not not already visible, click on the button in the upper right corner of the DAQ Assistant to show the context help. Then move the cursor over the timeout to display its help.
0 Kudos
Message 2 of 3
(2,506 Views)

I changed the timeout to -1 and it outputs the whole 40 seconds.

Thats great. Thanks for your help.

0 Kudos
Message 3 of 3
(2,503 Views)