Browse
Calling this method triggers that the OPC UA namespace is browsed and saved to a file.
The file containing the available opc items is saved in the following location in a storage account:
Destination container: files-drop
File path: <deviceId>/browse/opcua/items-<datetime>.jsonMethod Name: Browse
Payload:
{
}Result The direct method returns the following payload:
{
"status": 200,
"payload": {
"status": "ok",
"response": {
"blobName": "{DEVICE ID}/browse/opcua/items-{DATETIME}.json"
}
}
}Executing the the direct method uploads the file containing the available OPC UA items to a storage account. The example below shows the format of the content:
[
[
{
"referenceTypeId": {
"identifier": "i=35"
},
"isForward": true,
"nodeId": {
"identifier": "ns=3;s=Constant"
},
"browseName": {
"namespaceIndex": 3,
"name": "Constant"
},
"displayName": {
"locale": null,
"text": "Constant"
},
"nodeClass": "Variable_2",
"typeDefinition": {
"identifier": "i=63"
}
},
{
"referenceTypeId": {
"identifier": "i=35"
},
"isForward": true,
"nodeId": {
"identifier": "ns=3;s=Counter"
},
"browseName": {
"namespaceIndex": 3,
"name": "Counter"
},
"displayName": {
"locale": "en",
"text": "Counter"
},
"nodeClass": "Variable_2",
"typeDefinition": {
"identifier": "i=63"
}
},
....
]
]
Last updated
Was this helpful?