LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Tab and Space Bar action locks true value on Boolean Control

In my application I am using a login screen. This screen has continue and quit boolean controls. When running this vi and tabbing to the continue button I will hit the spacebar instead of a mouse click. When this is done the "continue" boolean control locks into the true state even though the mechanical action is set for "switch until released". Why is this. Try it with my vi. Just run and tab to the continue button and hit the space bar.
BJD1613

Lead Test Tools Development Engineer

Philips Respironics

Certified LV Architect / Instructor
0 Kudos
Message 1 of 4
(2,834 Views)
You should use the latch mechanical action instead of the switch. Switch means change your status and keep it changed on an action, latch means here flip back after the program has read the change status.
greetings from the Netherlands
Message 2 of 4
(2,833 Views)
The mechanical action of Booleans does not extend to key navigations. The mechanical action effects will only be demonstrated when a mouse click activates the Boolean.
Message 3 of 4
(2,833 Views)
I did a quick test and the mechanical action does extend to key navigations.

"blimpie boy" wrote in message
news:5065000000050000007CC20000-1031838699000@exchange.ni.com...
> The mechanical action of Booleans does not extend to key navigations.
> The mechanical action effects will only be demonstrated when a mouse
> click activates the Boolean.
0 Kudos
Message 4 of 4
(2,833 Views)