Control MethodsDownload PDFSelected SectionSelected Section and Subsection(s)Entire ManualUpdated2025-01-282 minute(s) readLabVIEWAPI ReferenceLabVIEW G Control Methods Attach DataSocketNational 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.Create:Control ReferenceCreates a control reference for the control and returns a reference to it.Create:Invoke NodeCreates an Invoke Node for the control and returns a reference to it.Create:Local VariableCreates a local variable for the control and returns a reference to it.Create:Property NodeCreates a Property Node for the control and returns a reference to it.Data Binding:Bind To Network PathBinds a control to an NI Publish-Subscribe Protocol (NI-PSP) network path. You can add new connections only at edit time.Data Binding:UnbindUnbinds a control from an NI Publish-Subscribe Protocol (NI-PSP) network path.Data Operations:Copy DataCopies data from the control to the clipboard.Data Operations:Paste DataPastes data from the clipboard to the control.Disconnect From TypedefDisconnects the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Fit Control To PaneResizes the control to the size of the pane that contains it and sets the control to scale with the pane.Get ImageReturns an image of a front panel object.Get Terminal ImageReturns an image of the block diagram terminal of a front panel object.Reinitialize To DefaultReinitializes the value of the control to the default value.Remove DataSocketRemoves 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.Start DragStarts a drag and drop operation using the specified control as the source.Update From TypedefUpdates the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Parent topic: ControlWas this information helpful?YesNo
Control Methods Attach DataSocketNational 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.Create:Control ReferenceCreates a control reference for the control and returns a reference to it.Create:Invoke NodeCreates an Invoke Node for the control and returns a reference to it.Create:Local VariableCreates a local variable for the control and returns a reference to it.Create:Property NodeCreates a Property Node for the control and returns a reference to it.Data Binding:Bind To Network PathBinds a control to an NI Publish-Subscribe Protocol (NI-PSP) network path. You can add new connections only at edit time.Data Binding:UnbindUnbinds a control from an NI Publish-Subscribe Protocol (NI-PSP) network path.Data Operations:Copy DataCopies data from the control to the clipboard.Data Operations:Paste DataPastes data from the clipboard to the control.Disconnect From TypedefDisconnects the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Fit Control To PaneResizes the control to the size of the pane that contains it and sets the control to scale with the pane.Get ImageReturns an image of a front panel object.Get Terminal ImageReturns an image of the block diagram terminal of a front panel object.Reinitialize To DefaultReinitializes the value of the control to the default value.Remove DataSocketRemoves 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.Start DragStarts a drag and drop operation using the specified control as the source.Update From TypedefUpdates the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Parent topic: Control
Control Methods Attach DataSocketNational 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.Create:Control ReferenceCreates a control reference for the control and returns a reference to it.Create:Invoke NodeCreates an Invoke Node for the control and returns a reference to it.Create:Local VariableCreates a local variable for the control and returns a reference to it.Create:Property NodeCreates a Property Node for the control and returns a reference to it.Data Binding:Bind To Network PathBinds a control to an NI Publish-Subscribe Protocol (NI-PSP) network path. You can add new connections only at edit time.Data Binding:UnbindUnbinds a control from an NI Publish-Subscribe Protocol (NI-PSP) network path.Data Operations:Copy DataCopies data from the control to the clipboard.Data Operations:Paste DataPastes data from the clipboard to the control.Disconnect From TypedefDisconnects the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Fit Control To PaneResizes the control to the size of the pane that contains it and sets the control to scale with the pane.Get ImageReturns an image of a front panel object.Get Terminal ImageReturns an image of the block diagram terminal of a front panel object.Reinitialize To DefaultReinitializes the value of the control to the default value.Remove DataSocketRemoves 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.Start DragStarts a drag and drop operation using the specified control as the source.Update From TypedefUpdates the control from the type definition and returns TRUE. If the control is not connected to a type definition, LabVIEW returns FALSE.Parent topic: Control