02-23-2013 04:59 PM
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
Solved! Go to Solution.
02-23-2013 05:43 PM - edited 02-23-2013 05:48 PM
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...