Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

check the progress of DAQmx waveform output

Hello,
 
I'm outputing a waveform via DAQmx. The waveform is a decaying sine wave over a variable time period, normally 10 seconds or a number of minutes. I display the waveform to be output on a graph display but I would like to give the user an indicator as to the progress of the output. Is it possible to get a property node to tell how many seconds into the total output you are?
 
I have looked at the properties and can find nothing that looks like it could do this.
 
I use the 'DAQmx Task Is Done.vi' to check when it has finished within a loop.
 
Thanks in advance.
0 Kudos
Message 1 of 2
(2,765 Views)

Okay I'm a twit Smiley Tongue.

All you need is the property: DAQmx Write>TotalSampPerChanGenerated. This tells you the number of samples output of the input Waveform at the time you request the information.

 

0 Kudos
Message 2 of 2
(2,755 Views)