LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Enumeration equate types?

Solved!
Go to solution

Hi, in C you can define enumerations to different types, say base16,  I have a need to create an enumeration with hex values versus just the basic base10 values. Is this possible with labview somehow. I relize I can pump the basic enumeration into a case swtich control and equate the enumeration values to any type I want, but would like to know if there's a enumeration control or some other control that's more flexiable this way?

 

This is what I need for an Enumeration:

Test1,0x11

Test2,0x14

Test3,0x0C

etc...

 

Tnx,

Rob

0 Kudos
Message 1 of 2
(2,372 Views)
Solution
Accepted by topic author QRP

I believe you can. Use "ring", select desired datatype and change the display format to hexa.

 

You are reffering to C, but :

 

remember
C Language can understand number in all format i.e. Hex, decimal, binary, octal. you just use a declaration,
for example


0x04 ; Hex 4
04 ; octal 4
0b100 ; binary 4

 

You do basicly the same in labview...

 

Error.png

Message 2 of 2
(2,364 Views)