LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Decimal string to Ascii (hex) string

Solved!
Go to solution

Hello,

 

i want to convert a decimal string like this "12345" in Ascii (hex) string like this "3132333435".

How can I make it?

 

regards

 

Schwede

0 Kudos
Message 1 of 6
(5,236 Views)
Solution
Accepted by topic author Schwede

This is one way to do it.

Str-2Hex.png

Message 2 of 6
(5,231 Views)

 i want to convert a decimal number like this "1234" in hex string like this "1234"..

0 Kudos
Message 3 of 6
(4,700 Views)

@system wrote:

 i want to convert a decimal number like this "1234" in hex string like this "1234"..


Please attach what datatype you have. Do you have a numeric integer datatype as input? In this case the formatting of it is irrelevant and your use of "decimal" just confuses the issue. All you need is "Number to decimal string".

 

Please clarify if you need something else. Typically it is not advised to add a new and different question to the end of an old thread that is already marked as solved. Start a new thread next time.

0 Kudos
Message 4 of 6
(4,685 Views)

Hi All

I am trying to converter 4 bit hex string to number. I know the right results. But I do not know how converte. Please see the attached vi

Please help me.

Thanks

0 Kudos
Message 5 of 6
(4,223 Views)

duplicate post, continue here

Best regards,
GerdW


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