LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regeneration doesnt stop immediatly when stop called

I have a vi that writes 180 samples to an analog out and regenerates over and over. The problem that I'm having is when I call daqmx stop it doesn't stop immediately. It continues for a few more iterations of the 180 samples. I'm only writing 180 samples to the task once and there is nothing else in the vi. 

0 Kudos
Message 1 of 3
(624 Views)

Please post your code so that we can understand better.

Besides, what is the model of the DAQ device? What is your update rate (sampling rate)?

-------------------------------------------------------
Applications Engineer | TME Systems
https://tmesystems.net/
0 Kudos
Message 2 of 3
(618 Views)

I'll send code tomorrow and hardware. 

However I'm sampling at 90 samples per second. I'm writing 180 samples so the put put should take 2 seconds.

When I call stop it takes like 4 seconds stop sometimes less sometimes more.

 

 

0 Kudos
Message 3 of 3
(596 Views)