LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Control the available active plots in a XY graph

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.

 

pushkin_0-1684282762782.png

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.....

 

 

0 Kudos
Message 1 of 3
(619 Views)

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?"

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 3
(615 Views)

"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.......

0 Kudos
Message 3 of 3
(594 Views)