LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hex display to number

Solved!
Go to solution

Hi :

 

 

I have txt string which appears as hex display , I want to convert it to decimal number

Attach see file please , I always get 0 at numeric

What I need I have number 00000457 ( hex) I want to convert it to decimal number it should be 1111

But my problem is the txt string is already in hex display

 

can any one help with this issue

 

thanks

 

Download All
0 Kudos
Message 1 of 16
(4,206 Views)

Try writing only 457.

0 Kudos
Message 2 of 16
(4,201 Views)

I can't this number i get for another application

0 Kudos
Message 3 of 16
(4,199 Views)

Like that?

0 Kudos
Message 4 of 16
(4,191 Views)

try this subVI

I hope it will work with other inputs.

0 Kudos
Message 5 of 16
(4,187 Views)

how about this?

0 Kudos
Message 6 of 16
(4,178 Views)

I can't open the file i have labview 2009

 

when i try open it this message that i file saved with labview version 2010 , can you please saved it with labview 2009

 

thanks

wisam

 

0 Kudos
Message 7 of 16
(4,164 Views)

that should work.

0 Kudos
Message 8 of 16
(4,159 Views)

An string of char (equivalent to an array of bytes) representing an I32, U32 (or any other data) can by directly type cast to the type it represents.

 

See the attached VI.

Download All
0 Kudos
Message 9 of 16
(4,152 Views)
Solution
Accepted by Elyan_wisam

Hi,

also possible are the other two methods shown in the attached example.

 

Mike

Message 10 of 16
(4,152 Views)