LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

bin to hex

Solved!
Go to solution
Hi : For example I have Binary Number 10110000 that I what to convert it to Dec Number   

How can I do that in labview

 

thanks
0 Kudos
Message 1 of 5
(2,976 Views)

Hi Elyan,

 

 

have you tried: programming -> numeric -> conversion ?

TN
Currently using LV 8.5
logo
0 Kudos
Message 2 of 5
(2,967 Views)

Did you try out the numeric format converter functions in the Numeric/String pallette?

 

If you want to change the format in a COntrol/Indicator, just rt-click >> Radix will do the job for you. Smiley Happy

 

But see that your question header & your problem description are not the same. Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 3 of 5
(2,964 Views)
Solution
Accepted by topic author elyan

As the information you give is incomplete, we're doing a bit of guessing here.

 

If the 'binary' is in an ASCII text string (so that you could display it in a string indicator in normal mode) you can convert it to an integer (perhaps a U16) using "Scan Value" with "%b" as the format string. Then just set the display format of the integer to get the visible formatting you need.

 

Rod.

 

0 Kudos
Message 4 of 5
(2,958 Views)
bintohex.PNG
Message 5 of 5
(2,956 Views)