|
|
(2 intermediate revisions by the same user not shown) |
Line 7: |
Line 7: |
| {{TOCright}} | | {{TOCright}} |
|
| |
|
| ==Properties==
| | <!--Edit Properties, Methods, or Events in the appropriate table in one on the VI Server Templates--> |
| <span class="mw-customtoggle-propertiestable">Show/Hide Control Properties Table</span> | | {{VIServerClassTables|6}} |
| <div class="mw-collapsible" id="mw-customcollapsible-propertiestable">
| |
| {{VIServerLegend|showrw=TRUE|showrte=TRUE}}
| |
| {| class="wikitable sortable"
| |
| |+ Control Properties Table
| |
| ! Property ID
| |
| ! Short Name (English)
| |
| ! Description
| |
| ! R/W
| |
| ! RTE | |
| |- style="background-color:#CCFFFF;"
| |
| |633201C
| |
| | [[Control class/Auto-Update property|Auto-Update]]
| |
| |If TRUE, the control automatically updates when the type definition changes.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633201D
| |
| | [[Control class/BitAccurateDataSize property|BitAccurateDataSize]]
| |
| |
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332003
| |
| | [[Control class/Blinking property|Blinking]]
| |
| |If TRUE, the control blinks.
| |
| | |
| Keep in mind the following caveats when using this property:
| |
| | |
| | |
| If you set this property to TRUE for system controls, the controls might not blink correctly. System controls are designed specifically for use in dialog boxes and are not designed to blink because standard dialog boxes usually do not contain blinking controls.
| |
| You cannot use this property with XControls or controls on a subpanel.
| |
| Do not use this property with elements in an array. This property works on only one element in the array, not the entire array. Use a cluster instead of an array to make all the elements blink.
| |
| | |
| This property is similar to the <b>Blink Foreground</b> and <b>Blink Background</b> options on the Environment page of the Options dialog box, and to the <b>Blink delay for front panel controls (milliseconds)</b> option on the Front Panel page of the <b>Options</b> dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633203F
| |
| | [[Control class/BuiltInMouseWheelSupport property|BuiltInMouseWheelSupport]]
| |
| |Sets the conditions under which the control responds to mouse wheel movement.
| |
| | |
| For example, you can specify whether a control responds when you either hover over the control or the control has key focus. This property is similar to the <b>Built-In Mouse Wheel Support</b> option on the <b>Key Navigation</b> page of the Properties dialog box.
| |
| | |
| | |
| <b>Note</b> You can use the key focus functionality only on Windows operating systems.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |6332026
| |
| | [[Control class/C Type property|C Type]]
| |
| |
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332004
| |
| | [[Control class/Caption property|Caption]]
| |
| |Reference to the caption object. You can use this reference with the Text properties.
| |
| | |
| <b>Note</b> You first must create the caption before you use this property, or LabVIEW returns an error. LabVIEW creates the caption the first time you set the caption to visible.
| |
| This property is similar to the <b>Visible Items»Caption</b> option on the shortcut menu of front panel controls and the <b>Caption Visible</b> and <b>Caption Text</b> item on the <b>Appearance</b> page of the Properties dialog box.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332040
| |
| | [[Control class/ControlIndex property|ControlIndex]]
| |
| |Gets the index of the control or indicator you specify. If the control or indicator for which you want to get the index does not have a terminal on the block diagram, this property returns an error.
| |
| | |
| You can use this property to specify the controls for which you get or set values with the Get Control Values by Index or Set Control Values by Index functions.
| |
| | |
| | |
| (Real-Time Module) Use the Get Control Index by Name method instead of the Control Index property to get control indexes. You can use the Control Index property on LabVIEW Real-Time systems only while connected to the RT target from the LabVIEW project. As a result, this property can work in the development environment but does not work in RT built applications.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332009
| |
| | [[Control class/CtrlRefNodes() property|CtrlRefNodes()]]
| |
| |Returns references to the control reference nodes of this control.
| |
| |R
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |633202D
| |
| | [[Control class/BindingType property|BindingType]]
| |
| |Returns the type of binding.
| |
| |R
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633202E
| |
| | [[Control class/BindingBlinkOnAlarm property|BindingBlinkOnAlarm]]
| |
| |
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633202B
| |
| | [[Control class/BindingLEDVisible property|BindingLEDVisible]]
| |
| |Shows or hides the data binding indicator.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332029
| |
| | [[Control class/BindingMode property|BindingMode]]
| |
| |Gets or sets the mode of the data connection.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332028
| |
| | [[Control class/BindingPath property|BindingPath]]
| |
| |Reads or writes the NI Publish-Subscribe Protocol (NI-PSP) URL to which the control is connected. To write this property, you must bind the control to the PSP URL before you begin writing.
| |
| | |
| <b>Note</b> If the control is bound to a project item instead of a PSP URL and you attempt to write this property, this property returns an error.
| |
| To bind the control to a PSP URL, use the Bind to Network Path method while the VI is not running.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633202C
| |
| | [[Control class/BindingPersistID property|BindingPersistID]]
| |
| |
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633202A
| |
| | [[Control class/BindingStatus property|BindingStatus]]
| |
| |Returns the status of the data connection. The connection status can be Invalid Status, Unconnected, Active, Idle, Error, or Connecting.
| |
| | |
| {| class="wikitable"
| |
| |+ scope="col" style="text-align:left;"|Elements:
| |
| ! scope="col" style="text-align:left;"| Name
| |
| ! scope="col" style="text-align:left;"| Description
| |
| |- style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Code
| |
| |The connection status. Valid values are Invalid Status, Unconnected, Active, Idle, Error, or Connecting.
| |
| |-style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Text
| |
| |Displays a message describing the current status.
| |
| |}
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332017
| |
| | [[Control class/DtSktEnbld property|DtSktEnbld]]
| |
| |This is the enabled state of the opc, ftp, and http connection on Windows, and the dstp and file connection on all LabVIEW-supported platforms. A connection can transfer data only when enabled.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633201E
| |
| | [[Control class/DtSktLEDVisible property|DtSktLEDVisible]]
| |
| |Shows or hides the connection status indicator.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332016
| |
| | [[Control class/DtSktMode property|DtSktMode]]
| |
| |Gets or sets the mode of the data connection.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332018
| |
| | [[Control class/DtSktStatus property|DtSktStatus]]
| |
| |Returns the status of the data connection. The connection status can be Invalid Status, Unconnected, Active, Idle, Error, or Connecting.
| |
| | |
| {| class="wikitable"
| |
| |+ scope="col" style="text-align:left;"|Elements:
| |
| ! scope="col" style="text-align:left;"| Name
| |
| ! scope="col" style="text-align:left;"| Description
| |
| |- style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Code
| |
| |The connection status. Valid values are Invalid Status, Unconnected, Active, Idle, Error, or Connecting.
| |
| |-style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Text
| |
| |Displays a message describing the current status.
| |
| |}
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332015
| |
| | [[Control class/DtSktURL property|DtSktURL]]
| |
| |Gets or sets the URL to which the control is connected. Valid URLs for using the DataSocket properties to connect controls are the opc, ftp, and http protocols on Windows, and the dstp and file protocols on all LabVIEW-supported platforms.
| |
| | |
| To set the URL, use the Attach DataSocket and Remove DataSocket methods when the VI is not running. Use front panel data bindings to bind controls to shared variables or to NI Publish-Subscribe Protocol (NI-PSP) data items.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633200E
| |
| | [[Control class/DefVal property|DefVal]]
| |
| |Default value of the control (LabVIEW variant).
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332043
| |
| | [[Control class/DefVal (Undo) property|DefVal (Undo)]]
| |
| |
| |
| |W
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |633200F
| |
| | [[Control class/Desc property|Desc]]
| |
| |Description of the front panel object that appears in the Context Help window when you move the cursor over the object and in VI documentation you generate.
| |
| | |
| You can format the text in the description to appear bold in the Context Help window.
| |
| | |
| If you want to display a carriage return in the Context Help window, you must separate paragraphs with two carriage returns
| |
| | |
| This property is similar to the <b>VI description</b> text box on the Documentation page of the VI Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |633203D
| |
| | [[Control class/Disabled property|Disabled]]
| |
| |Indicates whether you can operate the control.
| |
| | |
| This property is similar to <b>Advanced»Enabled State</b> item on the shortcut menu of a front panel control or indicator and to the <b>Enabled State</b> option on the <b>Appearance</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332010
| |
| | [[Control class/FocusKeyBind property|FocusKeyBind]]
| |
| |Sets a shortcut key to navigate to this control.
| |
| | |
| This property is similar to the <b>Focus</b> option on the <b>Key Navigation</b> page of the Properties dialog box.
| |
| | |
| {| class="wikitable"
| |
| |+ scope="col" style="text-align:left;"|Elements:
| |
| ! scope="col" style="text-align:left;"| Name
| |
| ! scope="col" style="text-align:left;"| Description
| |
| |- style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Control
| |
| |If TRUE, the keyboard shortcut includes the key.
| |
| |- style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Shift
| |
| |If TRUE, the keyboard shortcut includes the key.
| |
| |- style="vertical-align:top;"
| |
| ! scope="row" style="text-align:left;"|Key
| |
| |The name of the shortcut key. (Mac OS X) LabVIEW does not support <VolumeUp>, <VolumeDown>, and function keys<F15> to <F24> as shortcut keys on Mac OS X. Key must match one of the following values:
| |
| <div style="column-count:3;-moz-column-count:3;-webkit-column-count:3">
| |
| *<Clear>
| |
| *<nowiki><Ins></nowiki>
| |
| *<nowiki><Del></nowiki>
| |
| *<Home>
| |
| *<End>
| |
| *<PageUp>
| |
| *<PageDown>
| |
| *<Escape>
| |
| *<Enter>
| |
| :<b>Note</b> The <Enter> key on the alphanumeric keyboard and <Enter> key on the numeric keypad are the same value.
| |
| *<Play>
| |
| *<VolumeUp>
| |
| *<VolumeDown>
| |
| *<Mute>
| |
| *F1
| |
| *F2
| |
| *F3
| |
| *F4
| |
| *F5
| |
| *F6
| |
| *F7
| |
| *F8
| |
| *F9
| |
| *F10
| |
| *F11
| |
| *F12
| |
| *F13
| |
| *F14
| |
| *F15
| |
| *F16
| |
| *F17
| |
| *F18
| |
| *F19
| |
| *F20
| |
| *F21
| |
| *F22
| |
| *F23
| |
| *F24
| |
| :<b>Note</b> You must use the English Key name when wiring a shortcut key value.
| |
| </div>
| |
| |}
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633203C
| |
| | [[Control class/Genericity property|Genericity]]
| |
| |
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633202F
| |
| | [[Control class/GrowInfo property|GrowInfo]]
| |
| |Returns the growing abilities for this control.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332030
| |
| | [[Control class/GrowInfoGrowHoriz property|GrowInfoGrowHoriz]]
| |
| |Returns if this control can grow horizontally.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332031
| |
| | [[Control class/GrowInfoGrowVert property|GrowInfoGrowVert]]
| |
| |Returns if this control can grow vertically.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332034
| |
| | [[Control class/GrowInfoMaxHoriz property|GrowInfoMaxHoriz]]
| |
| |Returns the maximum size horizontally this control can grow.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332035
| |
| | [[Control class/GrowInfoMaxVert property|GrowInfoMaxVert]]
| |
| |Returns the maximum size vertically this control can grow.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332032
| |
| | [[Control class/GrowInfoMinHoriz property|GrowInfoMinHoriz]]
| |
| |Returns the minimum size horizontally this control can grow.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332033
| |
| | [[Control class/GrowInfoMinVert property|GrowInfoMinVert]]
| |
| |Returns the minimum size vertically this control can grow.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332022
| |
| | [[Control class/HasCaption property|HasCaption]]
| |
| |Returns TRUE if the control has a caption.
| |
| | |
| A control has a caption after you complete one of the following actions:
| |
| | |
| | |
| Display the caption by right-clicking the control and selecting <b>Visible»Caption</b> from the shortcut menu.
| |
| Programmatically get or set the caption text by using the Text property of the control.
| |
| | |
| <b>Note</b> LabVIEW continues to store the caption for the control even if you hide the caption or use the text editor tool to delete the text of the caption. This behavior enables LabVIEW to display the caption if you choose to make it visible again. Therefore, this property continues to return TRUE for hidden captions.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332007
| |
| | [[Control class/Indicator property|Indicator]]
| |
| |If TRUE, the front panel object is an indicator. If FALSE, the object is a control.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633200C
| |
| | [[Control class/InvokeNodes() property|InvokeNodes()]]
| |
| |Returns references to the invoke nodes of this control.
| |
| |R
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332020
| |
| | [[Control class/IsOnConPane property|IsOnConPane]]
| |
| |Returns whether a control or indicator is on the connector pane of a VI.
| |
| |R
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633203B
| |
| | [[Control class/Is Stub? property|Is Stub?]]
| |
| |
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633201A
| |
| | [[Control class/Typedef? property|Typedef?]]
| |
| |Returns whether the control is linked to the type definition.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332002
| |
| | [[Control class/KeyFocus property|KeyFocus]]
| |
| |If TRUE, the control has key focus and receives the keys pressed on the keyboard.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332005
| |
| | [[Control class/Label property|Label]]
| |
| |Reference to the label object.
| |
| | |
| You can use this reference with the Text properties.
| |
| |R
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |633201F
| |
| | [[Control class/LatchValue property|LatchValue]]
| |
| |
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633200A
| |
| | [[Control class/LocalVars() property|LocalVars()]]
| |
| |Returns references to the local variables of this control.
| |
| |R
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |633203E
| |
| | [[Control class/OwningPane property|OwningPane]]
| |
| |Returns a reference to the pane that owns the referenced control.
| |
| | |
| For nested controls, this property returns a reference to the pane that owns the object that contains the control. For example, if you use this property on a control within a tab control, the property returns a reference to the pane that owns the tab control.
| |
| | |
| If the referenced control is not on a pane, this property returns Not a Refnum.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633200B
| |
| | [[Control class/PropNodes() property|PropNodes()]]
| |
| |Returns references to the property nodes of this control.
| |
| |R
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332021
| |
| | [[Control class/SkipTabbing property|SkipTabbing]]
| |
| |If TRUE, LabVIEW skips this control when you tab through the front panel.
| |
| | |
| This property is similar to the <b>Skip this control when tabbing</b> option on the <b>Key Navigation</b> page of the Properties dialog box.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633203A
| |
| | [[Control class/Style ID property|Style ID]]
| |
| |Returns the style of the control.
| |
| |R
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332008
| |
| | [[Control class/SyncDisp property|SyncDisp]]
| |
| |When TRUE, enables synchronous display that shows every update to a data value in a control or indicator. When FALSE, asynchronous display permits the execution system to reduce updates to a slower rate and spend more time executing VIs.
| |
| | |
| In multithreaded systems, you can use this property to set whether to defer updates for controls and indicators. With asynchronous displays, after the execution system passes data to front panel controls and indicators, it can immediately continue execution.
| |
| | |
| This property is similar to the <b>Advanced»Synchronous Display</b> option on the shortcut menu of controls and indicators.
| |
| | |
| You also can use the Defer Panel Updates property to defer all new requests for front panel updates.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332006
| |
| | [[Control class/Terminal property|Terminal]]
| |
| |Returns the reference to the block diagram terminal of this control. Use this property to navigate between the front panel and the block diagram of a VI.
| |
| |R
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332014
| |
| | [[Control class/TipStrip property|TipStrip]]
| |
| |Sets or returns the tip strip of a control. A tip strip is the brief description of the object that appears when you move the cursor over the object.
| |
| | |
| Other products refer to tip strips as tooltips.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |633201B
| |
| | [[Control class/TypedefPath property|TypedefPath]]
| |
| |Returns the path to the type definition if the control is linked to a type definition. Otherwise, LabVIEW returns an empty path.
| |
| |R
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332025
| |
| | [[Control class/TypedefVI property|TypedefVI]]
| |
| |Returns a reference to the type definition if the control is connected to a type definition. Otherwise, LabVIEW returns .
| |
| |R
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |633200D
| |
| | [[Control class/Value property|Value]]
| |
| |Data value of the control (LV variant). If this is a Boolean value configured with a latching mechanical action, this property always returns an error. Due to race conditions that can occur when you have a Boolean value with latching mechanical action, you cannot programmatically read Boolean values that are set with a latching mechanical action.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332023
| |
| | [[Control class/Val(Sgnl) property|Val(Sgnl)]]
| |
| |Sets the value of the control and generates a Value Change event.
| |
| | |
| This property updates the value of an object similar to the Value property. However, Value (Signaling) also causes LabVIEW to generate an event as if the user had interactively changed the value of the object. National Instruments recommends you use this property only when you rely on LabVIEW generating an event in response to the programmatic value change.
| |
| | |
| If this is a Boolean value configured with a latching mechanical action, this property always returns an error. Due to race conditions that can occur when you have a Boolean value with latching mechanical action, you cannot programmatically read Boolean values that are set with a latching mechanical action.
| |
| |W
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6332041
| |
| | [[Control class/Value (Undo) property|Value (Undo)]]
| |
| |
| |
| |W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332000
| |
| | [[Control class/Visible property|Visible]]
| |
| |Displays the front panel control.
| |
| | |
| This property is similar to the Show Control and Hide Control options on the shortcut menu of a control.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |6332019
| |
| | [[Control class/WizData property|WizData]]
| |
| |
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332037
| |
| | [[Control class/Container Bounds property|Container Bounds]]
| |
| |Sets or gets the container bounds of the XControl.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332039
| |
| | [[Control class/Height property|Height]]
| |
| |Height of the XControl.
| |
| | |
| This property is an element of the XControl:Container Bounds property.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332038
| |
| | [[Control class/Width property|Width]]
| |
| |Width of the XControl.
| |
| | |
| This property is an element of the XControl:Container Bounds property.
| |
| |R/W
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6332036
| |
| | [[Control class/Is XControl? property|Is XControl?]]
| |
| |Returns TRUE if the control is an XControl, FALSE otherwise.
| |
| |R
| |
| |X
| |
| |}
| |
| </div>
| |
| | |
| ==Methods==
| |
| <span class="mw-customtoggle-methodstable">Show/Hide Control Methods Table</span>
| |
| <div class="mw-collapsible" id="mw-customcollapsible-methodstable">
| |
| {{VIServerLegend|showrte=TRUE}} | |
| {| class="wikitable sortable"
| |
| |+ Control Methods Table
| |
| ! Method ID
| |
| ! Short Name (English)
| |
| ! Description
| |
| ! RTE
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C06
| |
| | [[Control class/AttachDataSocket method|AttachDataSocket]]
| |
| |National Instruments recommends using front panel data binding through the Shared Variable Engine or using the Bind To Network Path method to attach a data connection to a control.
| |
| | |
| This method allows you to attach an opc, ftp, and http connection to a control on Windows, and a dstp and file connection to a control on all LabVIEW-supported platforms. You can add new connections only at edit time.
| |
| | |
| This method is similar to the <b>Data Binding Selection</b>, <b>Path</b>, and <b>Access Type</b> options on the <b>Data Binding</b> page of the Properties dialog box.
| |
| | |
| <b>Note</b> If you use this method with a Boolean control in a radio buttons control, this method returns an error.
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |6331C08
| |
| | [[Control class/Copy Wizard Template method|Copy Wizard Template]]
| |
| |
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C01
| |
| | [[Control class/Create.Control Ref method|Create.Control Ref]]
| |
| |Creates a control reference for the control and returns a reference to it.
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C04
| |
| | [[Control class/Create.Invoke Node method|Create.Invoke Node]]
| |
| |Creates an Invoke Node for the control and returns a reference to it.
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C02
| |
| | [[Control class/Create.Local Var method|Create.Local Var]]
| |
| |Creates a local variable for the control and returns a reference to it.
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C03
| |
| | [[Control class/Create.Property Node method|Create.Property Node]]
| |
| |Creates a Property Node for the control and returns a reference to it.
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C0F
| |
| | [[Control class/DataBinding.Bind To Network Path method|DataBinding.Bind To Network Path]]
| |
| |Binds a control to an NI Publish-Subscribe Protocol (NI-PSP) network path. You can add new connections only at edit time.
| |
| | |
| This method is similar to the <b>Data Binding Selection</b> and <b>Access Type</b> options on the <b>Data Binding</b> page of the Properties dialog box.
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |6331C11
| |
| | [[Control class/DataBinding.Bind To Network Variable method|DataBinding.Bind To Network Variable]]
| |
| |
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C12
| |
| | [[Control class/DataBinding.Unbind method|DataBinding.Unbind]]
| |
| |Unbinds a control from an NI Publish-Subscribe Protocol (NI-PSP) network path.
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C14
| |
| | [[Control class/DataOp.CopyData method|DataOp.CopyData]]
| |
| |Copies data from the control to the clipboard.
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C15
| |
| | [[Control class/DataOp.PasteData method|DataOp.PasteData]]
| |
| |Pastes data from the clipboard to the control.
| |
| |X
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C09
| |
| | [[Control class/Disconnect From Typedef method|Disconnect From Typedef]]
| |
| |Disconnects the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.
| |
| |
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C13
| |
| | [[Control class/FitControlToPane method|FitControlToPane]]
| |
| |Resizes the control to the size of the pane that contains it and sets the control to scale with the pane.
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C0C
| |
| | [[Control class/Get Image method|Get Image]]
| |
| |Returns an image of a front panel object.
| |
| | |
| This method is similar to the Front Panel:Get Image method.
| |
| | |
| If a front panel is not visible, LabVIEW does not update the values in the objects on the front panel. If you call a VI whose front panel is not visible and you use the Get Image method to create an image of a front panel object, the image does not reflect any value changes that occurred when you ran the VI.
| |
| | |
| If you want the image to reflect value changes, make sure the front panel is open before any values change. If you do not want to display the front panel but want the image to reflect value changes, create a Property Node from any terminal on the block diagram of the VI for which you want to create a front panel control image.
| |
| | |
| You also can use the Append Control Image to Report VI to create an image of a front panel object and append it to a report.
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C0D
| |
| | [[Control class/Get Term Image method|Get Term Image]]
| |
| |Returns an image of the block diagram terminal of a front panel object.
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C00
| |
| | [[Control class/Reinit To Default method|Reinit To Default]]
| |
| |Reinitializes the value of the control to the default value.
| |
| | |
| This method is similar to the <b>Data Operations»Reinitialize to Default Value</b> item on the shortcut menu of a control.
| |
| | |
| <b>Note</b> If you use this method with a Boolean control in a radio buttons control, this method returns an error.
| |
| |X
| |
| |- style="background-color:#FFFFCC;"
| |
| |6331C07
| |
| | [[Control class/Remove DataSocket method|Remove DataSocket]]
| |
| |Removes an opc, ftp, and http connection from a control on Windows, and a dstp and file connection from a control on all LabVIEW-supported platforms.
| |
| | |
| This method is similar to the <b>Unbound</b> option of the <b>Data Binding Selection</b> pull-down menu on the <b>Data Binding</b> page of the Properties dialog box.
| |
| | |
| <b>Note</b> If you use this method with a Boolean control in a radio buttons control, this method returns an error.
| |
| Use the Data Binding:Unbind method to remove psp connections.
| |
| |X | |
| |- style="background-color:#FFFFCC;"
| |
| |6331C0E
| |
| | [[Control class/Start Drag method|Start Drag]]
| |
| |Starts a drag and drop operation using the specified control as the source.
| |
| | |
| You can use this method to start drag and drop operations in response to user-defined actions instead of the built-in behavior with string, tree, listbox, and multicolumn listbox controls. For controls other than the string, tree, listbox, and multicolumn listbox, the Start Drag method is the only way to start a drag using this control as a drag source.
| |
| | |
| You must specify what data to provide during the drag and drop operation. Optionally, you can specify the drag mode, and corresponding default cursor feedback, to reflect whether this drag and drop operation supports moving the data instead of only copying it. During a drag and drop operation, only drag and drop events are available. Mouse events are not available.
| |
| | |
| If there is already a drag in progress, LabVIEW returns an error. If you pass an empty array for the data parameter, the drag operation does not start and LabVIEW returns an error. If the array of data passed contains duplicate data names or data that conflicts with built-in types, LabVIEW returns an error.
| |
| | |
| After you use this method, LabVIEW remains in the middle of a drag and drop operation until the user cancels the drag by pressing the key or lifting the mouse button, or until a window opens in front of the window that has the source control.
| |
| | |
| The <b>Drag Data</b> parameter is an array of clusters, each cluster containing a label and corresponding data. Each label must be unique and cannot use the LV_ prefix. Each element of the array must be of the same data type. The <b>Drag Mode</b> parameter specifies the operation of the drag, such as copy, move, or copy and move. If you select copy or move, pressing the <Ctrl> key copies the item.
| |
| | |
| Example
| |
| |X
| |
| |- style="background-color:#D1BB80;"
| |
| |6331C16
| |
| | [[Control class/Stub.Convert To Stub method|Stub.Convert To Stub]]
| |
| |
| |
| |
| |
| |- style="background-color:#D1BB80;"
| |
| |6331C17
| |
| | [[Control class/Stub.Revert From Stub method|Stub.Revert From Stub]]
| |
| |
| |
| |
| |
| |- style="background-color:#CCFFFF;"
| |
| |6331C0A
| |
| | [[Control class/Update Typedef method|Update Typedef]]
| |
| |Updates the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.
| |
| | |
| In most cases, LabVIEW correctly preserves the default values of each instance when updating from the type definition. However, if LabVIEW is unable to map the previous default values to the updated controls or constants when updating instances, LabVIEW may lose or incorrectly preserve the default values of instances LabVIEW updates programmatically. Avoid updating type definition instances programmatically if the instances have custom default values and you plan to make extensive changes to the type definition.
| |
| |
| |
| |}
| |
| </div>
| |
| | |
| ==Events==
| |
| <span class="mw-customtoggle-eventstable">Show/Hide Control Events Table</span>
| |
| <div class="mw-collapsible" id="mw-customcollapsible-eventstable">
| |
| {{VIServerLegend}}
| |
| {| class="wikitable sortable"
| |
| |+ Control Events Table
| |
| ! Code
| |
| ! Name
| |
| ! Type
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741869
| |
| |[[Control class/Drag Ended event|Drag Ended]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2684354617
| |
| |[[Control class/Drag Enter event|Drag Enter]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741885
| |
| |[[Control class/Drag Leave event|Drag Leave]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2684354618
| |
| |[[Control class/Drag Over event|Drag Over]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |2684354606
| |
| |[[Control class/Drag Source Update event|Drag Source Update]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741867
| |
| |[[Control class/Drag Starting event|Drag Starting]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483692
| |
| |[[Control class/Drag Starting? event|Drag Starting?]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |2684354622
| |
| |[[Control class/Drop event|Drop]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741847
| |
| |[[Control class/Key Down event|Key Down]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483658
| |
| |[[Control class/Key Down? event|Key Down?]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741848
| |
| |[[Control class/Key Repeat event|Key Repeat]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483659
| |
| |[[Control class/Key Repeat? event|Key Repeat?]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741836
| |
| |[[Control class/Key Up event|Key Up]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741842
| |
| |[[Control class/Mouse Down event|Mouse Down]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483655
| |
| |[[Control class/Mouse Down? event|Mouse Down?]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741839
| |
| |[[Control class/Mouse Enter event|Mouse Enter]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741838
| |
| |[[Control class/Mouse Leave event|Mouse Leave]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741833
| |
| |[[Control class/Mouse Move event|Mouse Move]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741832
| |
| |[[Control class/Mouse Up event|Mouse Up]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741905
| |
| |[[Control class/Mouse Wheel event|Mouse Wheel]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483699
| |
| |[[Control class/Shortcut Menu Activation? event|Shortcut Menu Activation?]]
| |
| |Filter
| |
| |- style="background-color:#D1BB80;"
| |
| |1073741892
| |
| |[[Control class/Shortcut Menu Dismissed event|Shortcut Menu Dismissed]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741878
| |
| |[[Control class/Shortcut Menu Selection (App) event|Shortcut Menu Selection (App)]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741876
| |
| |[[Control class/Shortcut Menu Selection (User) event|Shortcut Menu Selection (User)]]
| |
| |Notify
| |
| |- style="background-color:#FFFFCC;"
| |
| |2147483701
| |
| |[[Control class/Shortcut Menu Selection? (App) event|Shortcut Menu Selection? (App)]]
| |
| |Filter
| |
| |- style="background-color:#FFFFCC;"
| |
| |1073741826
| |
| |[[Control class/Value Change event|Value Change]]
| |
| |Notify
| |
| |}
| |
| </div>
| |
|
| |
|
| == History == | | == History == |
| {{ambox|text=History information is needed. What changes have occured over previous versions?}} | | {{ambox|text=History information is needed. What changes have occurred over previous versions?}} |
| {| class="wikitable" | | {| class="wikitable" |
| ! Version | | ! Version |
Line 826: |
Line 25: |
| *[[VI Scripting]] | | *[[VI Scripting]] |
|
| |
|
| [[Category:VI Server]]
| |
| [[Category:VI Server Class]] | | [[Category:VI Server Class]] |
| [[Category:VI Scripting]]
| |