LabVIEW

cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

SubVI dialog box

Why are you enabling and disabling VISA events, yet never using the VISA wait on events function.

0 Kudos
Message 11 of 13
(845 Views)

In your main vi's block diagram, right click on the sub-vi select "Sub-VI Node Setup".

 

Make sure "close afterwards if originally closed" is checked.  Based on the other comments, the termination terminal of the while loop looks like a stop sign in the bottom right corner.  Connect a button to this.  When the button is clicked, the sub-vi will stop.  If you have the node setup-options correct, the window will close on it's own once it stops running.

0 Kudos
Message 12 of 13
(841 Views)

MaveenD wrote:What do you mean by Termination terminal ? I didn get it.

It's how you stop your loops.

 


MaveenD wrote:What will be the problem if we use nested dialog boxes ?

It is annoying for the user.  Do you like to work with programs that have dialog boxes on top of dialog boxes?  I certainly don't.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 13 of 13
(840 Views)