LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keyboard navigation at design time

Hi all,

Is it possible to use the keyboard to navigate around a VI at design
time? I know you can set up a tab order and hotkeys, but these only
work while the VI is running. However, I need to enter a string to
send to a device, run the VI, and then enter a different string to run
it again. Is there a way of navigating back to the control without
using the mouse?

cheers

ben
0 Kudos
Message 1 of 3
(2,579 Views)
Hello Ben,

I would switch to Run Mode (Operate Menu or CTRL-M), edit the values you need (with correct tabbing order), run the VI (by CTRL-R) and go back to Edit Mode (CTRL-M). All done by keyboard, no mouse involved...

Best regards,
Gerd
Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,579 Views)
Ben -

It is not possible to navigate around in the VI during design time using key combinations. However, I would suggest you make a small change to your user interface.
1. Put the input string inside of a while loop. Make the stop condition an "OK" of "Go" button that exists the while loop, passing the current value of the string to the rest of the code.

2. Put all of your code into a loop, such as a while loop. The code will run again and again until the stop condition is met (usually a stop button.)

3. Set a hotkey to access your string, the go button, and to the stop button.

4. Now you run the program once... Enter a string and press go. The program will run once and then wait at the string until the Go button is pressed again. This proce
ss will occur until the stop button is pressed.

Things to watch out for:
*Make sure buttons have the correct "Mechanical
Action"
*Insert a Wait in while loops to improve processor performance when performing parallel tasks

Good Luck

Erik
0 Kudos
Message 3 of 3
(2,579 Views)