How to use array tags for object properties?

Discussion of application development using iX Developer, including but not limited to getting started, using the functions tab, properties, objects and installation.
Post Reply
Sergei Troizky
Posts: 23
Joined: Mon Jun 13, 2016 4:03 pm

How to use array tags for object properties?

Post by Sergei Troizky »

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?

User avatar
Chris T.
Posts: 109
Joined: Mon Nov 20, 2017 5:29 pm

Re: How to use array tags for object properties?

Post by Chris T. »

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.
Best regards,
Christopher
(801) 708-6690
Technical Support
Contact Us

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

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

Re: How to use array tags for object properties?

Post by Russ C. »

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: Select all

Tag1[0].Value = 12;
Tag1.Values[0].Value = 12;

Example of reading from array tags:

Code: Select all

Tag2.Value = Tag[0].Value;
Tag2.Value = Tag1.Values[0];
Best regards,

Russ
(801) 708-6690
Technical Support
Contact Us

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

Post Reply