opcuanode
Create OPC UA node objects
Description
creates an OPC UA node object or array of objects from the information in
nodeList = opcuanode(index,id)index and id. index is a number
or numeric vector. id is a character vector, string, scalar integer, or
cell array containing character vectors and scalar integers. Use this syntax to create node
objects for known nodes on an OPC UA server. Each node Name property is
set to 'Index:Identifier', and other properties of the node are left
empty until you use the node to access an OPC UA server. When you successfully use the node
object with a client using writeValue or readValue, the Client property of the node is set to the
client, and other attributes are read from that client.
immediately associates the node object with the specified client
nodeList = opcuanode(index,id,uaClient)uaClient. If uaClient is connected at this time, the
opcuanode function also retrieves other properties from the server
associated with uaClient.
Use opcuanode to create node objects only when you know the index
and identifier of nodes you are interested in. For nodes that you need to find from the
server, create node objects by browsing the namespace of a connected OPC UA client object
with browseNamespace or getNamespace, or browse the Parent and
Children properties of existing node objects.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2015b
See Also
Functions
opcua|findNodeByName|findNodeById|browseNamespace|readValue|getNamespace|writeValue|invoke