10-02-2012 11:46 AM
Hi,
I'm wondering if you can assign a key (ex: enter, F1, F2) to a button in the user interface for vision builder.
I know LabView allows users to assign a key toggle to the buttons; can you do that in Vision Builder?
If not, is there any way that i can use keyboard to control the user interface buttons?
Thank you
10-04-2012 08:52 AM - edited 10-04-2012 08:55 AM
Hi Jon,
Unfortunately to my knowledge we can not assign keys to toggle booleans in VBAI. If this is something you are highly interested in, you may want to create a feature request at the LabVIEW idea exchange so it can be considered for future versions.
http://forums.ni.com/t5/NI-Idea-Exchange/ct-p/ideas
10-04-2012 10:18 AM
You can assign keys to toggle buttons in the Custom UI. To do this, you need to open the UI in LabVIEW, right click on the control and go to Advanced>>Key Navigation. Once you have the controls assigned to the keys you want, save the VI and reimport it into VBAI. There isn't currently a way to assign keys to buttons in the configuration mode, but as mentioned, you can do this for custom UIs in Inspection mode.
Hope this helps,
Brad