04-03-2012 01:54 AM
I send some command via RS232 to my machine and the machine sent me back with a number "40" display in normal display in my attatched picture. I tried to use the string convert to num tools but there is nothing happen just "0" .
I wondering with it, then I try displaying the string in different way as in attached, code display and hex display and see the format of it.
I want to get the string "40" to change it to number, how can I get it? please help
Thank you in advance.
Solved! Go to Solution.
04-03-2012 02:21 AM - edited 04-03-2012 02:22 AM
@lovemachinez wrote:
I tried to use the string convert to num tools but there is nothing happen just "0" .
I don't know what "tools" you are talking about, but unless you show us what you tried, we cannot tell what you are doing wrong.
I don't seem to have a problem getting the 40 out this string, so try again. If you are still stuck, attach your code. Make sure the controls contain some typical default data 😉
04-03-2012 02:23 AM
It worked fine for me. Just to be on the safe side you can use the Trim Whitespace function (strings palette) to clear the "\" characters.
steve
04-03-2012 03:16 AM
Got it!, Thank you very much to all