Example Code

F Key Tab Control

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

Coding that exemplifies how to switch tabs by using specific keys.

 

Description

The code consists on programmatically change the tabs of the front panel by pressing some specific tabs. We can choose to move to a tab in particular or to go through the tabs in order.

 

Requirements

LabVIEW 2012 (or compatible)

 

Steps to Implement or Execute Code
1. Run the VI
2. Press either F5, F6, F7, or F8 to move to a specific tab
3. Press the left or right keys to move to the left or right respectively.
4. Finish the execution with the Stop button

 

Additional Information or References

Capture.PNG

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.