Page 1 of 1

Determine if a tag is of type Array

Posted: Tue Feb 09, 2016 7:10 am
by hans gerritsen
How can I determine if a tag is an arraytype and the size of this array?
For example: tag 'Test' is of DataType=Bool[8]. The array size =8.

Re: Determine if a tag is of type Array

Posted: Wed Jan 29, 2020 3:46 pm
by Russ C.
You can use the Globals.Tags.Tag1.GlobalDataTypeFriendlyName and Globals.Tags.Tag1.ArraySize properties in scripting.