LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event and slide indicator

I have an event loop on my project which monitors the button press from the initial login screen. When the user press enter I validate the username and password and if its right I proceed to main screen. When I switch to main GUI screen I put a message box on the screen to let the user know that he has to turn on the other instrument before he presses start on the GUI. If I click using the mouse I don't have any issues going to next screen and the program works as it supposed to. But instead if I press enter on the keyboard, for some reason the OK on the message box and the start button are activated automatically on the main GUI screen and the program starts running.

I am also monitoring analog channels from USB-6225 from my pressure and vacuum sensor and display the result using a slide indicator. I was wondering is it possible to use one slide indicator to display both pressure and vaccum, may be something like on slide 1(pressure) indicate 0 - 40psi(blue color) and on slide 2(vacuum) indicate 0 - -16psi(red color). I tried different fill style but I was not able to do it. Is it possible to use any property node to implement this behaviour. I would really appreciate some help.

 

Thanks

0 Kudos
Message 1 of 3
(2,830 Views)
To stop a button activating when the enter button is pressed right click on the button and select Advanced>>Key Navigation. Then set the key commands to <None>
David
www.controlsoftwaresolutions.com
0 Kudos
Message 2 of 3
(2,815 Views)
Thanks David. On the advance->key navigation I have focus and toggle set to none. But I am not able to delete or change existing bindings key assignment. Am I missing something.
0 Kudos
Message 3 of 3
(2,813 Views)