10-17-2013 05:59 PM
I want to auto-save oscilloscope data after a user-defined amount of time, and have a timer display that shows the elapsed time. My program is reading continuous waveform data from the oscilloscope. If I try using the Elapsed Time VI, the oscilloscope data does not update during the desired amount of time, only after the elapsed time is finished. The program takes about 3 seconds to refresh the oscilloscope data and I cannot get a timer to run in parallel.
10-18-2013 04:01 AM
Hi,
Do not use elapsed time. You can create your own timer subvi.
In that use a while loop which runs at "x"ms (Interval at which you want to acquire oscilloscope data). After each iteration it should check if time has elapsed. If not increment iteration count.
So you will have a continuous data.
Example. If you want data at 5ms rate. and autosave after 1 Sec then timer subvi should check if iteration count is equal to (1 sec/5ms)
10-18-2013 04:59 AM
I don't know in how many ms accurate you want it, but this can be used parallel