LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pause DAQmx acqusition

    I have one while loop in which I do acqusition (DAQmx Read in loop Start, Timing.. outside). Inside loop I have one case structure that is used to save acquiered data, but during saving procedure, which involves file dialog.. acqusition continues. When I finish saving case structure and back to loop, all data acquierd during that saving procedure is displayed on chart very fast, until it "catch up" .. I hope that you understand problem..
0 Kudos
Message 1 of 3
(2,275 Views)

Hi,

Once started, you cannot pause DAQmx read, you have to stop itt and restart it

for solving your problem, the best option would be to 'open/create the file' outside loop and keep 'write to file' enclosed by a case structure inside the while loop ( as shown in attached VI)

hope this helps

regards

Dev

0 Kudos
Message 2 of 3
(2,271 Views)
    I will check it later.. but thanks for fast answer...
0 Kudos
Message 3 of 3
(2,267 Views)