LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to interrupt a data acquisition process via user interface

I would like to be able to interrupt a data acquisition process with a stop button on the front panel.  The data acquisiton process can take several minutes and I don't want to have to wait for it to finish before LV reads the stop button event.  Any advice and/or examples will be greatly appreciated!
0 Kudos
Message 1 of 3
(2,894 Views)
DAQmx Stop Task will stop a task that is running.
0 Kudos
Message 2 of 3
(2,876 Views)
Also, if you set your acquisition to continuous, and read less values per read iteration, you wont have to wait minutes for your stop button to be read.
Rob K
Measurements Mechanical Engineer (C-Series, USB X-Series)
National Instruments
CompactRIO Developers Guide
CompactRIO Out of the Box Video
0 Kudos
Message 3 of 3
(2,862 Views)