03-25-2010 10:01 PM
Hello,
I'm trying to password protect some controls on my front panel, and I'm trying to do this using the User Input VI, but when it pops up and asks for a user input, my main VI is halted until the user hits OK on the User Input VI... is there anyway to have a pop input dialog box that doesn't halt the main VI it's running in?
much thanks!
03-25-2010 10:13 PM
It is all how you set up your overall program architecture.
The password prompting could be done in a separate loop. Or you could dynamically call a subVI you set up as a dialog box that where you don't wait for the subVI to finish. When the subVI gets the password and verifies it. It closes itself and passes that status back to your main VI either through a notifier or a functional global variable or a global variable.