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,205 Views)

Try writing only 457.

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

I can't this number i get for another application

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

Like that?

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

try this subVI

I hope it will work with other inputs.

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

how about this?

0 Kudos
Message 6 of 16
(4,177 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,163 Views)

that should work.

0 Kudos
Message 8 of 16
(4,158 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,151 Views)
Solution
Accepted by topic author Elyan_wisam

Hi,

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

 

Mike

Message 10 of 16
(4,151 Views)