LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

newbie. Hex case Label

Hi
is it possible to write exadecimal value as a case selector?
i.e. if the input value is 0x31.... if the value is 0x32... o have I to
write the decimal conversion?

Thanks!
0 Kudos
Message 1 of 2
(2,515 Views)
If you use the numeric control as your case selector, you can change its format to hex. When you create a case however, it should be in decimal. So yes, you can have a hex value as a case selector.

If you use a enum list, you can also change its format to hex by manipulating its Format and Precision setting. Its case would have whatever you have as text in the drop down.

I've attached a demo to demonstrate what I mean. Look in the diagram.

Hope that helps.

Shan Pin Koh
0 Kudos
Message 2 of 2
(2,515 Views)