Jump to content

Control

From LabVIEW Wiki
Revision as of 13:32, 11 May 2020 by Q (talk | contribs) (Added section for control styles)

A Control is an input element on the Front Panel of a VI that allows users to interact with (control) a VI at runtime. When a control is connected to a terminal on the Connector Pane, it serves as an input terminal to pass data into a VI. A control can also be changed into an indicator via the right-click menu option Change to Indicator. Controls on a front panel are always stored as part of the owning VI. Individual controls can be stored in a control file on disk for later re-use. Control files are created and changed in the control editor.

Controls include: Knobs, Push Buttons, Strings (text input), Dials, etc. Controls to place on a front panel are accessed through the Controls Palette or through Quick Drop.

Styles of Controls

There are many styles of controls that come with LabVIEW. These sets of controls are listed below; however, there are also many third-party toolkits with various styles available and a Control editor that allows for the creation of custom controls.

Classic Controls

The Classic controls are the original set of controls.

Modern Controls

The Modern controls came later to incorporate a more 3D look of controls.

System Controls

The System controls uses the control from the Operating System (OS). If these are used, be aware that the look of the application could change if used in a different OS (for example: Windows 7 to Windows 10).

Silver Controls

The Silver controls came out in LabVIEW 2011 to try to address the concerns that user interfaces were beginning to look dated.

NXG Controls

The NXG controls came out in LabVIEW 2018 to allow creation of LabVIEW user interfaces that look like LabVIEW NXG user interfaces.

See also