LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how do I convert a deciaml input to a hexidecimal output in labview?

Can somebody please explain what seems like a simple conversion ?
I would like to convert a decimal input to a Hexidecimal output:
i.e input value of 20000
converting to a hexidecimal output of 4E20
 
hope you can help
 
AW
Message 1 of 21
(20,468 Views)

This just has to do with formatting. There is no actual conversion taking place.

Make sure your numeric is an integer (I or U representation), right click it and select Format & Precision and select hex from the list.


___________________
Try to take over the world!
Message 2 of 21
(20,463 Views)
Thanks, that seems to do the trick!Smiley Happy
0 Kudos
Message 3 of 21
(20,460 Views)
Hi!
There are two simple ways to convert decimal to Hex.
1. just simply make your indicator format to Hex (I 32). Just right click on indicator and go to format and
    precision. Select data range and format.
2. Use convert decimal string to hex converter in string palet at block diagram.
Refer vi.
 
Kaustubh
VC (Pune)]
INDIA
Message 4 of 21
(20,443 Views)

I want to convert 16.234 to Hex Value. Kindly suggest...

Advance Thanks

Anil

0 Kudos
Message 5 of 21
(18,995 Views)

Hi Anil,

           Are you looking for this one?

          

           See the attachment:

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Message 6 of 21
(18,986 Views)