05-16-2023 07:30 PM
Hi.
I need to control the available Active Plots in a XY Graph.
In the attached example I have "XY Graph 1" which is initialised with 7 signals (plus a deliberate dummy).
However, there are "zombie" active plots that can be seen via the Legend and also the in Array, after these 7 signals.
P_B1 (and onwards) are the "zombies".
The vi is attached.
How can I exercise these "zombies" with the program/graph. ??
Is there a way to inquire about the number of available plots prior to a For loop ??.
Regards JC.....
05-16-2023 07:40 PM
I think the real issue isn't "How do I tell LabVIEW that some plots aren't needed", but "How do I build an array containing only the data I want?"
05-16-2023 08:18 PM
"How do I tell LabVIEW that some plots aren't needed"
That is my issue.
These unwanted signals ("zombies" from a previous usage) show in the Legend.
At best (it appears), I need to externally track the number of plots in the XY_Graph (and ignore the unwanted display in the Legend).
Regards JC.......