From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-08-2009 04:43 PM
Hello,
I am looking for a way to name individual plots using the XY chart. So far I've been using the property node and only able to rename the "main" plot name. Is there a way I can feed an array of names to the plots? For example, index=0 corresponds to Plot 1, index=1 corresponds to Plot 2, etc. This would be especially helpful to do because I do not know how many plots will be generated prior to runtime. In the event that there are many plots (N is large), it would help tremendously with readability to be able to distinguish the plots. Thanks for the help!
Solved! Go to Solution.
01-08-2009 05:47 PM
01-08-2009 05:56 PM - edited 01-08-2009 05:57 PM
Once you have an array of plot names, create a property node with the following two items in that order:
Now place this is a FOR loop and wire the iteration terminal to "active plot" and autoidex the name array and wire to "plot name".
(I would recommend to ignore errors within the node, else you get errors if you have more names than plots.)
01-08-2009 06:26 PM
01-08-2009 06:57 PM
01-08-2009 07:03 PM
01-08-2009 08:05 PM - edited 01-08-2009 08:07 PM