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 ObjectDescription
Add Monitored Data NodesAdds nodes to a data subscription to monitor data changes.
Connect ServerCreates a connection to an OPC UA server.
Create SubscriptionCreates 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 NodesDeletes one or multiple monitored nodes from a subscription.
Delete SubscriptionsDeletes one or multiple subscriptions. By deleting a subscription, you delete all the monitored nodes from the subscription.
DisconnectDisconnects 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 BrowseBrowses a node and returns information about its child nodes.
Get Node AttributeGets the attributes of a node.
Multiple ReadReads 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 WriteWrites 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.
SubpaletteDescription
Alarms and Conditions VIsUse the Alarms and Conditions VIs to subscribe to alarms and conditions for OPC UA client applications.
Historical Access VIsUse 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.