LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Convert hex string to number

Solved!
Go to solution

So are you getting a string with those characters in it?  If so, then you need to use Hexadecimal String to number.

 

If not, attach a VI where you have your incoming data saved to a control as the default data.

0 Kudos
Message 11 of 14
(1,379 Views)

Hello,

 

What if I want to convert my input HEX data in to U32 ?

0 Kudos
Message 12 of 14
(1,358 Views)

Hi Karan,

 

What if I want to convert my input HEX data in to U32 ?

Just do that!

 

Do you mind to provide an example VI with typical data as received from your BT device?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 13 of 14
(1,355 Views)

@Karan_jasani wrote:

What if I want to convert my input HEX data in to U32 ?


Please clarify what you mean by "HEX data".  Are you getting raw data (not readable in a text editor) or ASCII characters that look like Hex data in a text editor?  An example VI with a sample data set as the default for the input control will help A LOT.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 14 of 14
(1,347 Views)