10-17-2013 09:13 AM
Dear all,
I use Labview 2011 and a NI acquisition board.
I want to acquire a voltage during 5 secondes (sampling=1khz, sample=5000) but I want to be able to stop the acquisition programmatically (stop button for example) before the end of the acquisition. In the case the acquisition has been stopped, I want to plot the voltage data acquired until the stop action. I don’t know if the STOP task is the right function and how to use it. Any suggestions?
Regards,
Cedric
10-17-2013 09:24 AM
10-17-2013 09:40 AM
In addition to what Gerd said, just to make sure it's clear: the STOP task (if you're talking about the big [off-white, ugly] octagonal stop sign) is NOT the correct function. Use a conditional FOR loop and wire your stop button to the regular conditional stop.
Cameron
10-17-2013 09:41 AM
hi GeredW,
The problem with this strategy is that between each pack of samples, there are samples missing because of the loop structure (to go to the next iteration).
Cedric
10-17-2013 09:42 AM
10-17-2013 10:44 AM
Yes you can use continous samplying or else use ur graph inside the loop and try it once