LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to sens that there is no new data in the buffer when using continuous output, regeneration mode off

Please refere to the picture of my code. While samples are output, I am transfering new sample points in to the buffer. I want to close the task after the last sample is output. How can I achiev this?

 

At the moment it throws the error -200290. Meaing that there is no more data to output in the buffer. How can I finish the task in a controled manner?

labview.png

 

 

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

Did you check the example in this link?

http://www.ni.com/example/25370/en/ 

And here: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Mg6SAE&l=en-US

 

Thanks
uday
0 Kudos
Message 2 of 4
(3,160 Views)

Capture.PNG

aputman
0 Kudos
Message 3 of 4
(3,148 Views)

It is a continuous acquisition, the Wait Until Done VI will not return.

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