LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to obtain plot list from xy graph

Hi!

I have a XY Graph and I wnat to get the number of Plots in that Graph. There is no Property for this.
Anyone knows how to do this?

Bya
hmann
0 Kudos
Message 1 of 3
(3,790 Views)
hi

i don't know, but try it with the "array size" function... a xy-graph is a 1d-array of clusters. in these clusters there are two 1d-array which represent x and y coords. the "array size" function should return the number of plots (clusters) of the xy-graph.... try it and let me know if it works..

ciao
0 Kudos
Message 2 of 3
(3,790 Views)
Hello!
you also can use Active Plot property in writing mode. When you active a plot that doesn't exist, the property node returns an error, so that you can know how many plots are in the graph.
crisR
Message 3 of 3
(3,790 Views)