Length of IWS array tag?

I need to get the length of an IWS array tag or Aveva Edge project tag using VBScript. I have been trying "UBound()" but it only works for VBScript variables. I have looked for a built-in function but didn't find anything.

Any help?

Parents
  • You can use the Size property of the tag to get the array upper bound.  If you had an array tag called arrTag, then you could get the upper bound of the tag array using this syntax,

    $arrTag->Size

    Note that the property is called Size, but it is not the array size.  It is the upper bound of the array.  All array tags in AVEVA Edge have a lower bound of 0.

Reply
  • You can use the Size property of the tag to get the array upper bound.  If you had an array tag called arrTag, then you could get the upper bound of the tag array using this syntax,

    $arrTag->Size

    Note that the property is called Size, but it is not the array size.  It is the upper bound of the array.  All array tags in AVEVA Edge have a lower bound of 0.

Children
No Data