Inherits from Generic»GObject»Control Methods.
Allows you to attach a DataSocket to a control. Similar to the Front Panel DataSocket dialog. New DataSockets can only be added at edit time. At runtime, this method can change an existing DataSocket.
The following table lists the parameters for this method.
Parameters | Description |
---|---|
url | String where you specify the URL to establish a DataSocket connection. Refer to Valid URLs for a DataSocket Connection for more information about the types of valid DataSocket URLs. |
mode | Mode of the DataSocket connection. Options are: No DataSocket, Publish, Subscribe, or Publish and Subscribe. |
enabled | Specifies if DataSocket is enabled. |
The following table lists the flags for this method.
Is settable when the VI is running | No |
Requires the block diagram to be loaded | N/A |
Is available on local LabVIEW only | N/A |
Requires the front panel to be loaded | N/A |
Must wait until user interface is idle | N/A |
Is available with control VIs | N/A |
Is available with global VIs | N/A |
Is available with strict type definitions | No |
Is available with polymorphic VIs | N/A |
Available in Run-Time Engine | Yes (Read/Write) |