Add Property VI
- Updated2025-09-30
- 4 minute(s) read
Owning Palette: OPC UA Server VIs
Requires: OPC UA Toolkit
Adds a property to an item.
After you start an OPC UA server, you cannot add properties until the OPC UA server stops. Use the Stop VI to stop an OPC UA server.
Example
![]() |
historical access specifies whether the item supports historical access and the size of the history data queue.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
OPC UA server refnum in specifies the reference data value of the OPC UA server. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
item node ID specifies the ID of the parent node. The parent node must be an item. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
property specifies the information about the property.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
error in describes error conditions that occur before this node runs. This input provides standard error in functionality. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
OPC UA server refnum out returns the reference data value of the OPC UA server. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
property node ID returns the ID of the property node that this VI adds. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
OPC UA variable node refnum out returns the reference to the variable node. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
error out contains error information. This output provides standard error out functionality. |
Example
Refer to the OPC UA Demo.lvproj in the labview\examples\Data Communication\OPCUA directory for an example of using the Add Property VI.









