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

Calling vi front panel object update in a running sub-vi loop?

$
0
0

Hello All. I have a calling sub-vi with a "Start Test" button on the front panel. I passed a control reference for that Start button into a sub-vi that runs in a while loop. The while loop is monitoring that Start button and other things.

 

Problem: Once the sub-vi runs, it no longer takes updates from that Start button. My program never leaves that while loop in response to my Start button.

 

Is there some way I can make the sub-vi take an updated value from the calling vi?

 

Attached is the sub-vi (top level, LabVIEW 2011). Please note that I have already tried putting the Start Test terminal inside the loop, but that did not help. I put comments in the block diagram and the front panel to help identify the problem code.

 

I am going to get around this problem by running this whole vi through a loop in the calling vi, where I can easily respond to button changes. This is mainly an academic or curiosity problem now.

 

Thank you, Richard V


Viewing all articles
Browse latest Browse all 67219

Trending Articles



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