Tags Array and chart

A forum devoted to the discussion of all topics having to do with scripting and other advanced programming using iX Developer.
Post Reply
yang
Posts: 20
Joined: Wed Jan 23, 2013 9:22 am

Tags Array and chart

Post by yang »

Hello,

In tags, we can create a array to hold values, my question is possible to increase the array size in script?

I have a csv data file, I want to use chart to display, however, I don't how many value I will have, probably, 100, or other value, I create tags for XArray and YArray, but if size is not exact number I give in the design time, Could I change the size? or I have some other way to load data to chart? I could not find any example for chart.

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Tags Array and chart

Post by mark.monroe »

You can not change the array size during runtime. If you are targeting a TxC or a PC-target then you might want to look at using the Microsoft Chart component, however that will require a lot of scripting.
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

yang
Posts: 20
Joined: Wed Jan 23, 2013 9:22 am

Re: Tags Array and chart

Post by yang »

Is it possible to save chart plot into the image file?

mark.monroe
Posts: 824
Joined: Tue Mar 13, 2012 9:53 am

Re: Tags Array and chart

Post by mark.monroe »

The only way to do that is to use the "Print Screen" Action under Screen action category.
Snap 2013-02-27 at 08.56.13.png
Snap 2013-02-27 at 08.56.13.png (74.8 KiB) Viewed 6915 times
Best Regards,
Mark Monroe

Beijer Electronics, Inc. | Applications Engineer

Post Reply