avatar  

Log out

Recently viewed tickets

Can I sample individual values from an OPC-UA Array ?

Yes if you have an array setup like the below, then with a samplepoint like the one shown below you can collect the individual data from the array.





{
"SampleName" : "DistY",
"SampleDescription" : "Variable VIS_MachineTime.distance[1]",
"SamplesSaved" : 10,
"OnlySaveOnChanged" : true,
"SampleDataType" : "float",
"OPCUAObject":
{
"NodeIdNameSpaceIndex": 6,
"NodeIdType": "string",
"NodeIdString": "::AsGlobalPV:VIS_MachineTime.distance[1]",
"OPCUASampleInterval": 60
}
},

Creation date: 11/12/2019 14:15 (skr@secomea.com)      Updated: 11/12/2019 14:15 ()