Jump to content

Control: Difference between revisions

From LabVIEW Wiki
Combining duplicate pages
Added section for control styles
Line 1: Line 1:
{{Stub}}
{{Stub}}
{{ambox|text=This article should explain the differences in styles (Classic, Modern, System, Silver, NXG) and types (Boolean, String, Numeric, Push Button, Close Button, ...) of controls.}}
{{TOCright}}
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|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 [[CTL File Extension|control file]] on disk for later re-use. Control files are created and changed in the [[Control editor|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.
{{ambox|text=Example Picture Place Holder}}
 
=== Modern Controls ===
The '''Modern''' controls came later to incorporate a more 3D look of controls.
{{ambox|text=Example Picture Place Holder}}


=== 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).
{{ambox|text=Example Picture Place Holder}}


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|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 [[CTL File Extension|control file]] on disk for later re-use. Control files are created and changed in the [[Control editor|control editor]].
=== Silver Controls ===
The '''Silver''' controls came out in [[LabVIEW 2011]] to try to address the concerns that [[User Interface|user interfaces]] were beginning to look dated.
{{ambox|text=Example Picture Place Holder}}


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]].
=== NXG Controls ===
The '''NXG''' controls came out in [[LabVIEW 2018]] to allow creation of [[LabVIEW]] [[User Interface|user interfaces]] that look like [[LabVIEW NXG]] [[User Interface|user interfaces]].
{{ambox|text=Example Picture Place Holder}}


== See also ==
== See also ==

Revision as of 13:32, 11 May 2020

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