‎03-28-2013 12:27 PM
Why are you enabling and disabling VISA events, yet never using the VISA wait on events function.
‎03-28-2013 12:37 PM
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.
‎03-28-2013 12:40 PM - edited ‎03-28-2013 12:41 PM
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.