iX Talk
http://beijerinc.com/support/ix/forum/

How to use array tags for object properties?
http://beijerinc.com/support/ix/forum/viewtopic.php?f=4&t=2223
Page 1 of 1

Author:  Sergei Troizky [ Mon Aug 21, 2017 3:54 pm ]
Post subject:  How to use array tags for object properties?

I was planning to group object dynamic properties into an array tag.
However, as soon as a tag is made an array, it disappears from the dropdown selection list for object properties.
Am I doing something wrong?
Or, if they cannot be used in such way, what is the intended use of array tags?

Author:  Chris T. [ Wed Feb 14, 2018 6:30 pm ]
Post subject:  Re: How to use array tags for object properties?

Sergei Troizky,

The primary use for array tags in iX is for the Graph object. Arrays are an active area of improvement but currently are very limited in iX.

Author:  Russ C. [ Wed Feb 28, 2018 4:31 pm ]
Post subject:  Re: How to use array tags for object properties?

As Chris mentioned its arrays are being looked at for improvement and are currently limited so you can't assign array tags to objects on the screen to read/write values. But you can read/write values to the array tags using scripting with this format.

Example of writing to array tags:
Code:
Tag1[0].Value = 12;
Tag1.Values[0] = 12; //Updated, the Tag1.Values array elements are read only



Example of reading from array tags:
Code:
Tag2.Value = Tag[0].Value;
Tag2.Value = Tag1.Values[0];

Page 1 of 1 All times are UTC - 7 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/