LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pause data acquisition

Good evening. I have attached a sample of my code. Basically I have an event driven state machine and I would like to do the following:

 

(I) Acquire continuous images and stop image acquisition when prompted.

 

(ii) Pause analog data acquisition for the duration of the 'display' state. The display state in my vi lasts approximately 90 seconds and I would like to halt data acquisition and resume after the code in that particular state has executed. I have tried using an elapsed time function without success.

 

At present I can acquire all my voltage samples fine but after the 'acquire' state I get error 200279.

 

Any suggestions and references are greatly appreciated.

0 Kudos
Message 1 of 4
(3,111 Views)

I guess it would help if I posted a functional link. Here is the VI again.

0 Kudos
Message 2 of 4
(3,031 Views)

Hey Charles,

I have a Knowledge Based Article on the error you are receiving.

Why Do I Get Error -200279 from my DAQmx Read VI or Property Node?

I will give a look at your code a little more and see what I can find.

Ricky

National Instruments
Applications Engineer
0 Kudos
Message 3 of 4
(3,025 Views)

Thanks for your input. I have read that knowledge base. My error is coming  after a lengthy state executes. While in that stae all my samples get overwritten.I just want to stop acquiring data while in that state and then resume data acquisition without changing my sampling rate.

0 Kudos
Message 4 of 4
(3,008 Views)