LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to assgign keys to button (a..z)

Solved!
Go to solution

Hello,

i have three buttons on a panel.

I know how to assign F-keys to toggle them, but is it also possible to assign characters (a..z) to toggle?

 

Thx

0 Kudos
Message 1 of 5
(2,906 Views)
Solution
Accepted by topic author OnlyOne

You could do it with an Event Structure by using the Key Down event.  I'm not seeing a key binding for letters though.


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 2 of 5
(2,903 Views)

Hmm,

my vi is working fine with the Event-structure.

But now i call the Vi as Subvi which pops up and now the buttons are not working any more.

But i can still click on the buttons.

Window-appearance of sub-vi is set to "custom".

Is there something that i have to change in properties?

Thx

0 Kudos
Message 3 of 5
(2,870 Views)

@OnlyOne wrote:

Hmm,

my vi is working fine with the Event-structure.

But now i call the Vi as Subvi which pops up and now the buttons are not working any more.

But i can still click on the buttons.

Window-appearance of sub-vi is set to "custom".

Is there something that i have to change in properties?

Thx


Can you share some code?  Not much there is making sense unless there is a setting that is off that I can't think of at the top of my head.


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
Message 4 of 5
(2,864 Views)

It was any kind of other labview-hanging.

After restarting it works alo in my main-vi.

 

0 Kudos
Message 5 of 5
(2,860 Views)