LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

covert to hex

Solved!
Go to solution

Hi

 

I have question

 

I have string char = 111bf081 and I want to covert it as hex format and this what it should be 111B F081

 

how can i do that in labview 2009

 

thanks

 

0 Kudos
Message 1 of 6
(2,478 Views)

I divided the string in two so I had 2 strings 111b and f081. then used hex string to number on each string. This was in LV2010 tho as I dont have access to 2009

 

hope it helps 

Please remember to accept any solutions and give kudos, Thanks


LV 8.6.1, LV2010,LV2011SP1, FPGA, Win7
0 Kudos
Message 2 of 6
(2,476 Views)
Solution
Accepted by Elyan_wisam

Hi Elyan,

 

you should really learn to write more detailed questions.

Two possible solutions to your problem:

check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(2,471 Views)

Hi

 

I divided  the string in two so I had 2 strings 111b and f081 like you said , and I used hex string to number on each string

 

see picture attach , but i did get what I what 111b f081

 

 

 

1.jpg

 

 

0 Kudos
Message 4 of 6
(2,469 Views)

Hi Elyan,

 

- you only converted the lower 16bit number of your 32bit hex number. Is there a reason for?

- you didn't change the display format of the number to "hex display" (right-click the indicator)...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(2,463 Views)

thanks

 

 

0 Kudos
Message 6 of 6
(2,456 Views)