LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to change the representation of a numeric control during Run-time

I want to change the representation of any numeric control programmatically during run time. Is there a way for it? Thanks Erhan
0 Kudos
Message 1 of 6
(4,473 Views)
I don't believe there is any way to programatically change the representation of a numeric, however, you can surely change the way it looks to the user with property nodes. You can set Format, Precision, Data Range, etc.

You could then use a case structure to convert the front panel DBL (for example) to the appropriate representation using the numeric conversion vi's.

Tim
Message 2 of 6
(4,473 Views)
Are you talking about changing the representation from I16 to DBL and back,
or simply changing the format and precision property node?

Les Hammer
0 Kudos
Message 3 of 6
(4,472 Views)
Yes, changing the representation from I16 to DBL and back.
0 Kudos
Message 4 of 6
(4,472 Views)
Thanks a lot.

Erhan
0 Kudos
Message 5 of 6
(4,472 Views)
> Yes, changing the representation from I16 to DBL and back

Hmmm. Like another poster said, you can change the way it looks, but actually changing the representation ...?

You could have two different controls and play games with which one is visible and which is used (switch in a case statement). Is there something you are trying to do here?

Les.Hammer@CompleteTest.com
0 Kudos
Message 6 of 6
(4,472 Views)