Jump to content

Control: Difference between revisions

From LabVIEW Wiki
mNo edit summary
Fix inter-wiki links. General cleanup and clarification.
Line 1: Line 1:
A '''Control''' is the main input on a [[Front Panel]].  There are two ways a control can be saved: as a basic control, or as a control file.  Controls can be changed to [[Indicator|Indicators]] on the [[Front Panel]] by right-clicking and selecting '''Change to Indicator'''.
{{Stub}}
{{Underconstruction}}


==Basic Controls==
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, 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 also be stored on disk for later re-use.
Basic controls are saved with the owning [[VI]]. There are many data types to basic controls and many UI styles.


==Control File ([[CTL File Extension|''.ctl'']])==
== Control file ==
The control file, or ([[CTL File Extension|''.ctl'']]) file, is the method to create a custom look to a control (including adding decals to buttons) and/or create a data type definition.  The controls can have one of three different types of behavior:
# '''Control''' - saves the control as a custom control with no linking
# '''Type Definition''' - saves the control as a custom control with data type linking
# '''Strict Type Definition''' - saves the control as a custom control with both data type and UI style linking


===Control===
A control file ([[CTL File Extension|''*.ctl'']] file) contains a single control, [[Type Definition|type definition]] or [[Strict Type Definition|strict type definition]]. Control files are created and changed in the control editor.
More to Come


===Type Definition===
== Control editor ==
More to Come


===Strict Type Definition===
== See also ==
More to Come


==Customizing a Control==
* [[Type Definition]]
More to Come
* [[Strict Type Definition]]
 
* '''UI Toolkits'''
==See Also==
** [[XControl]]
*UI Toolkits
** [[QControl]]
*[[XControl]]
*[[QControl]]


[[Category:LabVIEW fundamentals]]
[[Category:LabVIEW fundamentals]]

Revision as of 15:20, 8 February 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, 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 also be stored on disk for later re-use.

Control file

A control file (*.ctl file) contains a single control, type definition or strict type definition. Control files are created and changed in the control editor.

Control editor

See also