Determine if a tag is of type Array

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
hans gerritsen
Posts: 26
Joined: Fri Jan 20, 2012 12:55 pm

Determine if a tag is of type Array

Post 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.

User avatar
Russ C.
Posts: 213
Joined: Thu Nov 16, 2017 3:32 pm
Contact:

Re: Determine if a tag is of type Array

Post by Russ C. »

You can use the Globals.Tags.Tag1.GlobalDataTypeFriendlyName and Globals.Tags.Tag1.ArraySize properties in scripting.
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

Beijer Electronics AB
http://www.beijerelectronics.us

Post Reply