Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 67370

Pause execution of a Vi

$
0
0

Hello,

 

I'm trying to do an aplication with two main Vi's. The first Vi is the responsible of the configuration of different instruments. On the other hand, the second Vi is the responsible of doing different measurements of an electronic circuit. 

 

My problem is that I want to pause the first Vi when the configurations have been done and then go to the second Vi and do the measurements. When the measurements have been done, the execution should return to the first Vi and continues since the point where the program have been paused. 

 

I'm trying to solve this with queues and a while loop to pause the execution, but it doesn't work properly. 

 

In the following image I have attached the while loop. This loop communicates with the second Vi to check if the measurements have been finished or not. But it doesn't work properly and I don't know why. My question is: is this method good to solve this problem or there are other method better than this? Or simply, the pause execution of a Vi can't be done.

 

Sin título.png

 

Any help is appreciated.

 

Thank you.


Viewing all articles
Browse latest Browse all 67370

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>