Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I save all the data in the queue before releasing it?

Hi all,

I have problem saving the complete data when using the Producer/Constumer structure.

My VI has a data aquizition loop and a data saving loop (to excel). The data saving loop will run slower than aquizition loop such that some data is held in the queue. So I missed the latter part of data due to the sequence of stopping the loop. The way I stop the loop is immediate. When I press the stop button, I clean up and release the queue. The data in the queue that not consumed by excel will be released.

How can I save all the data in the queue before release it? Can you give me some instruction on that?

I attached some simple VI for your reference.

Thanks so much!

best

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

How Can I delete the topic I posted?

Thanks

best

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