04-04-2021 05:51 PM
Hello Labview application engineers,
I would like to know how to get index of checked plots in a multiplot graph. The sample vi (attached) has three plots in a graph, I want to pass a Boolean array containing status of checked plots for subsequent data process. e.g. Plots 0 and 2 are checked.
I looked at the graph properties, however, I could not find a proper property to read/write for such a use under both legend and plot. Available properties under legend is shown below.
Thanks,
Gu
Solved! Go to Solution.
04-04-2021 06:31 PM
This should work:
Not sure if there is an easier way.
04-04-2021 06:47 PM
Hi MIG,
Thanks.
Gu
04-04-2021 06:55 PM
You have three plots, 0, 1, and 2. Create a Property Node for the Chart, and make the first element of the Property Node "Active Plot". This selects the Plot on which you want to work. Let's say you wire "1". Now pull down another Property Node entry (did you know you could have one Property Node with multiple options?). Click on it and it will expand to allow you to select any of the appropriate Properties. Scroll down to find "Plot", and expand this and select the "Visible" property. It will show as Plot.Visible?. If you leave it as "Read", you can find out if that Plot is Visible. If you change it to Write, you can set it True (to make it Visible) or False (to make it not Visible).
Individual Plot properties (like Visibility, or Line color or style) require that you set Active Plot to select the Plot, then adjust the individual property.
Bob Schor