OPC UA Client VIs
- Updated2025-09-30
- 2 minute(s) read
Owning Palette: OPC UA VIs
Requires: OPC UA Toolkit. This topic might not match its corresponding palette in LabVIEW depending on your operating system, licensed product(s), and target.
Use the OPC UA Client VIs to create a customized OPC UA client application.
Example
| Palette Object | Description |
|---|---|
| Add Monitored Data Nodes | Adds nodes to a data subscription to monitor data changes. |
| Connect Server | Creates a connection to an OPC UA server. |
| Create Subscription | Creates a subscription to the nodes of the OPC UA server. When the nodes that the OPC UA client subscribes to incur data changes, the OPC UA server collects the data changes and sends a notification message to the OPC UA client. |
| Delete Monitored Nodes | Deletes one or multiple monitored nodes from a subscription. |
| Delete Subscriptions | Deletes one or multiple subscriptions. By deleting a subscription, you delete all the monitored nodes from the subscription. |
| Disconnect | Disconnects an OPC UA client from an OPC UA server. The OPC UA client automatically deletes all the subscriptions before disconnecting from the OPC UA server. |
| Forward Browse | Browses a node and returns information about its child nodes. |
| Get Node Attribute | Gets the attributes of a node. |
| Multiple Read | Reads the value, timestamp, and status of one or multiple nodes. NI recommends choosing the Variant instance for all value data types. You must manually select the polymorphic instance to use. |
| Multiple Write | Writes values to one or multiple nodes. NI recommends choosing the Variant instance for all value data types. You must manually select the polymorphic instance to use. |
| Subpalette | Description |
|---|---|
| Alarms and Conditions VIs | Use the Alarms and Conditions VIs to subscribe to alarms and conditions for OPC UA client applications. |
| Historical Access VIs | Use the Historical Access VIs to access historical data and events for OPC UA client applications. |
Example
Refer to the OPC UA Demo.lvproj in the labview\examples\Data Communication\OPCUA directory for an example of using the OPC UA Client VIs.