browsing a node
You can browse a node by specifying the msg.nodeId
or msg.topic
attribute in the Browse
node.
The node will return the list of references of the node in msg.payload
.
Properties
- Name: The name of this node.
- Endpoint: The predefined endpoint of the OPC UA server to connect to.
- NodeId: The OPC UA Node ID for which you want to explore the references.
- ReferenceTypeId: The type of reference you want to follow, selected in the ReferenceType hierarchy.
- IncludeSubType: A flag that indicates whether to strictly follow (when false) the reference type specified by ReferenceTypeId or also consider any subtype of the ReferenceTypeId (when true).
- BrowseDirection: indicates whever to follow forward or backward references or both.
- Node Class Mask: allows to filter which type of target node to consider based on NodeClass. Only target nodes with the selected NodeClasses are returned.
- Object
- Variable
- Method
- ObjectType
- VariableType
- ReferenceType
- DataType
- View
- Result Mask: Specifies the fields in the ReferenceDescription structure that should be returned.
- ReferenceType
- IsForward
- NodeClass
- BrowseName
- DisplayName
- TypeDefinition
- (NodeId is always provided)
input message formats
basic Browse message
msg = {
nodeId: "ns=2;s=ProcessController", // Node to browse
}
or
msg = {
topic: "ns=2;s=ProcessController" // Alternative way to specify the
// target node
}
Browse with specific reference type
msg = {
nodeId: "ns=2;s=ProcessController",
referenceTypeId: "HasComponent" // Specify reference type to filter results
}