Add Monitored Data Nodes VI
- Updated2025-09-30
- 5 minute(s) read
Owning Palette: OPC UA Client VIs
Requires: OPC UA Toolkit
Adds nodes to a data subscription to monitor data changes.
Example
![]() |
monitoring parameters specifies the settings for monitoring data changes.
| ||||||||||||||||||||||||||
![]() |
OPC UA client refnum in specifies the reference for the OPC UA client. | ||||||||||||||||||||||||||
![]() |
subscription ID in specifies the ID of the subscription. | ||||||||||||||||||||||||||
![]() |
node IDs specifies the IDs of the nodes. The format of the node ID is ns=<namespace index>;<identifier type>=<identifier>. A node ID contains the following components:
|
||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||
![]() |
timeout specifies the maximum time, in milliseconds, that this VI waits to get a response from the OPC UA server. The default is 5000. | ||||||||||||||||||||||||||
![]() |
OPC UA client refnum out returns the reference for the OPC UA client. | ||||||||||||||||||||||||||
![]() |
status returns the status code. | ||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. | ||||||||||||||||||||||||||
![]() |
service status returns the status of an OPC UA service call. OPC UA services contain parameters that are conveyed between an OPC UA client and an OPC UA server. |
Example
Refer to the OPC UA Demo.lvproj in the labview\examples\Data Communication\OPCUA directory for an example of using the Add Monitored Data Nodes VI.












