<< Chapter < Page Chapter >> Page >
In this section, you will learn about the LabVIEW front panel.

The front panel is the user interface of the VI. shows an example of a front panel.

Example of a Front Panel

Controls and indicators

You build the front panel with controls and indicators, which are the interactive input and output terminals of the VI,respectively. Controls are knobs, push buttons, dials, and other input devices. Indicators are graphs, LEDs, and otherdisplays. Controls simulate instrument input devices and supply data to the block diagram of the VI. Indicatorssimulate instrument output devices and display data the block diagram acquires or generates.

Controls palette

The Controls palette is available only on the front panel. The Controls palette contains the controls and indicators you use to create the frontpanel. Select Window>>Show Controls Palette or right-click the front panel workspace to display the Controls palette. Tack down the Controls palette by clicking the thumbtack on the top left corner of the palette. By default, the Controls palette starts in the Express view.

The Express palette view includes subpalettes on the top level of the Controls and Functions palettes that contain Express VIs and other objects you need to build common measurementapplications. The All Controls and All Functions subpalettes contain the complete set of built-in controls, indicators, VIs, and functions.

The Advanced palette view includes subpalettes on the top level of the Controls and Functions palettes that contain the complete set of built-in controls, indicators, VIs, andfunctions. The Express subpalettes contain Express VIs and other objects you need to build commonmeasurement applications.

In the Express palette view, toolsets and modules do not install subpalettes on the top level of the Controls and Functions palettes. Instead, toolsets and modules install on the All Controls and All Functions subpalettes. In the Advanced palette view, toolsets and modules install subpalettes on the top level.

Click the Options button on the Controls or Functions palette to change to another palette view or format.

Numeric controls and indicators

The two most commonly used numeric objects are the numeric control and the numeric indicator, as shown in .

1. Increment and Decrement Buttons, 2. Numeric Control,3. Numeric Indicator

To enter or change values in a numeric control, click the increment and decrement buttons with the Operating tool or double-click the number with either the Labeling tool or the Operating tool, type a new number, and press the Enter key.

Boolean controls and indicators

Use Boolean controls and indicators to enter and display Boolean ( True or False ) values. Boolean objects simulate switches, push buttons,and LEDs. The most common Boolean objects are the vertical toggle switch and the round LED, as shown in .

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Labview graphical programming. OpenStax CNX. Apr 09, 2015 Download for free at https://legacy.cnx.org/content/col11408/1.2
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Labview graphical programming' conversation and receive update notifications?

Ask