07-31-2009 07:14 AM
I have a cluster of several XY plots. Is there a way I can choose which of the plots is viewed (not on the XY plot in a tableor similar format) the number of plots on the graph depends on how many times the code is run. To do this I need to programatically remove the items from the cluster. Is there a way in which this can be done????
Thanks,
Matt.
07-31-2009 07:56 AM
07-31-2009 08:23 AM
Hello Matt,
thank you so much for your post on our webforum. I made a small example containing a cluster with two arrays. I made a rerence from my cluster control / indicator and put that on a propertyu node. Now we can select the controls property from the cluster; we get an array with all control refrences from the controls within the cluster. Just select the right element(s) from the array (or refrences) and you can feed this control refrence to another property node, get the values (variant). Maybe my example will make things more clear.
Have a great weekend!
Best regards,
07-31-2009 08:40 AM
The program I'm putting up shows how teh data is stored but it isn't the program I'm writing which requires an HP4061 PSU to work. It should allow you to see how I create the data for each plot and how it is stored with in the clusters and arrays.
Thanks,
Matt
07-31-2009 08:55 AM
Hi Matt,
you have an "array of plots" (well, I prefer to use build array in favor of InsertIntoArray). That's completely different to "I have a cluster of ... plots"!
You can always use IndexArray to select only the plots needed...