10-21-2008 04:46 AM
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
Solved! Go to Solution.
10-21-2008 05:04 AM
10-21-2008 05:24 AM
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
10-23-2008 02:08 AM
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