Skip to content

CSV Example: OPC-UA

Below is an example CSV file for an OPC-UA device:

Example Device Resource CSV file The columns are defined by the protocol attributes, with a new device resource on each row:

name,description,units,valueType,readWrite,nodeID,IDType,nsIndex
Attribute1,Description1,Unit1,Uint16,R,1,NUMERIC,1
Attribute2,Description2,Unit2,Uint16,W,2,NUMERIC,2
Attribute3,Description3,Unit3,Uint16,RW,3,NUMERIC,3

name is a mandatory attribute.

Note

Any attribute that does not belong to the device resource property will be treated as a device resource attribute. These are attributes specific to the protocol. In the example above, these are nodeID, IDType, and nsIndex.

You can find further information about attributes for OPC-UA devices, see the Edge Xpert and Edge XRT documentation.

Back to top