LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unwanted peaks in graph

Solved!
Go to solution

Hello,

I receive real-data constantly, and also a boolean data that tells me if I´m receiving the data. My problem is that when I´m not receiving values, I get a zero and the program graphs it, and I get unwanted peaks. My question is if there is a way for not graphing the zero, just a blank space or something...  Because I´m thinking a case structure and the boolean value in the "?" icon.. But, I don´t know what to put in it when false occurs, if I check the option of "use default if unwired" it stills graphs a zero... =( 

 

Thanks for all your help, I´m sorry if my question has been asked before, but I didn´t know how to formule it...

 

Have a good day!

 

 

0 Kudos
Message 1 of 3
(2,419 Views)
Solution
Accepted by topic author mia.lara

Set the value to NaN (Not a Number) rather than zero.  Values of NaN do not show up on graphs - just the blank you wanted.  Create a constant of type DBL and type NaN into it.

 

Lynn 

Message 2 of 3
(2,418 Views)
Thank you!  😃
0 Kudos
Message 3 of 3
(2,387 Views)