We've updated our file storage system, so some links may no longer work. If you need a file, just email us at support@secomea.com—we’re happy to help!

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

Prev Next

Yes, if you have an array setup as shown below, then with a sample point as below you can collect the individual data from the array.

image.png

{
  "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
   }
},