LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Make an curve invisible in a graph (LW 7.1)

Hello,
I hope there is an comfortable solution for my wish.

I intend to cede an array of 15 temperature values to a realtime chart. There is not a guarantee that each of the 15 values consists of a valid value(that means the value is a number but zero or -999999).For that reason I have to say to the chart that there is no need to store (in history) and even to show on display that value. Moreover I can not remove the element from the array because that would change my curves plot preferences like color and name (name is more important).
Is there an opportunity to make an curve invisible or just to say the chart must ignore for example curve 4,6,8 only to keep my name arranged?

For more help I would be very deligh
ted.

best regards
0 Kudos
Message 1 of 5
(2,789 Views)
If your "invalid" values were set to NaN (Not a Number), instead of 0 or -99999, the points would not be shown on the graph (but still stored in the History buffer... but that should not be a too big issue ?).
Have a look to the attached vi.
Chilly Charly    (aka CC)
Message 2 of 5
(2,789 Views)
thank u very much, this will bring me a bit more far. for the invalid values I will now set the value to NaN.

But one problem is that I also would like to make a curve invisible (just to keep the overview). Do u have any idea for that?

thanks again
0 Kudos
Message 3 of 5
(2,789 Views)
Hello
Should you want to make a entire curve invisible, use property nodes to make it transparent.
See attached modified chilly charlie vi.

Cheers
Alipio
---------------------------------------------------------
"Qod natura non dat, Salmantica non praestat"
---------------------------------------------------------
0 Kudos
Message 4 of 5
(2,789 Views)
That is 100% that what I need. Thank you very much for your help!

best regards
0 Kudos
Message 5 of 5
(2,789 Views)