LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert decimal to hexadecimal

Dear members,
How to convert Decimal number to hexadecimal number

my decimal No. is this 216172782113816578
equivalent hexadecimal number is 0300000000008002
 how to convert this.
thanks
cheers
sasi
0 Kudos
Message 1 of 2
(2,799 Views)

Hi Sasi,

In LabVIEW 7.1 and earlier, you would need to do some special manipulations of separate U32 values, and possibly displaying in a string, if you wanted to accomplish this...I'm sure you could find something helpful in past LabVIEW forum posts.  In LabVIEW 8.0, you could specify the decimal value in a U64 control set to decimal display, and simply wire this control to a U64 indicator set to hexadecimal display.  With a U64, you can display values as high as decimal 18446744073709551615...with a U32, the highest value you can display is decimal 4294967295.

Hope this helps,
-D

0 Kudos
Message 2 of 2
(2,793 Views)