LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to make a numeric indicator not show 0 as default value

I use Labview 8.0.

I need several numeric indicators to show some calculated results, but before I get the calculation results, thoes indicator will always show "0"  as their default value. So, how can I make these indicator just be blank before I get the result that I want to display?

 

Thanks!

0 Kudos
Message 1 of 6
(8,241 Views)

I would post an example but saving for 8.0 is crashing my LV.  Here is a snippet which shows one way to do it with property nodes.

 

NumericIndicator.png 

 

 

0 Kudos
Message 2 of 6
(8,228 Views)

You can also right click the indicator and go to data operations and than click "make current value Default"

 

 

Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 6
(8,215 Views)
You could also not use a numeric indicator, and just use a string indicator. Just need to use a numeric to string conversion function. Something to consider.
Message 4 of 6
(8,207 Views)

The string indicator was my first thought, but since the OP asked...

 

I primarily change the FG/BG colors of an indicator to signal a new value with a little flash or to color code the result, it seems to adapt well to blanking the display.  If you don't mind losing the intrinsic ability to change the format at run time and you won't be passing the values to another VI (or don't care about duplicate indicators), then the string indicator could be the simple answer for you.  I used to like strings for this purpose, but I would sometimes want a peek at the next digit.

 

Most often, I do neither, I just use a "I'm busy" boolean indicator. 

0 Kudos
Message 5 of 6
(8,174 Views)

Thank all of you!  thanks for your advices.

0 Kudos
Message 6 of 6
(8,092 Views)