LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

logic decoding

Solved!
Go to solution

I have this METEX DMM. it gives the HEXadecimal string .

Now for 

"0" = 2F3D

"1" =  2A3F

"2"=   2C38

 

how can i convert the string e.g 2F3D (HEX string) into 0 (decimal),  and for other logics as well.

Thanks

 

0 Kudos
Message 1 of 4
(3,061 Views)
Hexadecimal String To Number VI in String sub-pallette
Regards,
André (CLA, CLED)
0 Kudos
Message 2 of 4
(3,057 Views)

What's the relationship between the Hex and Decimal values?  Your Hex value for dec 1 is lower than for the other two.  I didn't see a relationship so I made an enumerated control with the Hex values you listed and wired them to a numeric indicator (don't create an indicator by right-clicking on the terminal; that'll give you an enumerated indicator).  You can add items to the enum control for any more values you need to convert, unless there's a relationship that I didn't see.

 

jm

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

0 Kudos
Message 3 of 4
(3,047 Views)
Solution
Accepted by topic author DeWalker

HEy thanks for the replies.

JM actually the DMM sends the data corresponding to the seven segment logic thats why its a bit different(each bit with different representation).Anyways i just couldnt find the RADIX of the case structure coz i was connecting the string set as "displayed HEX" to the case .Read few discussions and found the error in my code.
Regards.

DeWalker

 

0 Kudos
Message 4 of 4
(3,004 Views)