LabVIEW Web UI Builder and Data Dashboard

cancel
Showing results for 
Search instead for 
Did you mean: 
Reply

Converting hexadecimal 2 byte data to a numerical value

Highlighted

Converting hexadecimal 2 byte data to a numerical value

Hi,

 

I have hexadecimal data that I am receiving using Bluetooth. I want to convert this hexadecimal 2 byte data into a numerical value so I can plot it in a waveform as the data I am receiving is an analog voltage from a sensor. 

 

The data format is like this: 020F so the numerical (decimal) value I need would be 527. I can them manipulate this and convert it to a useful voltage value. 

 

Help please, I tried converting it to a string first and then using the "Hexadecimal string to number" function but it didn't work.

 

Cheers,

David

0 Kudos
Message 1 of 2
(197 Views)

Re: Converting hexadecimal 2 byte data to a numerical value

dadest100,

 

How are you displaying the hexadecimal values? I was trying to reproduce what you are seeing and having a hard time. Is it possible for you to post your VI? 

 

-Michael

0 Kudos
Message 2 of 2
(170 Views)