Inadvertantly posted this in instrument control too.
I have run into a bit of a perplexing problem. I am communicating with an instrument via TCP. When I try to compare the received strings, I get an error. For example if I see a 1 in the string, and compare it with a string 1, I get a false. A search here suggested a possible problem with slash codes. If I probe the line with the return data, copy and paste it into the diagram, and enable \ codes display, a '\00' appears after the 1. How on earth do I get rid of this? I can't just convert to a number because some of the data is string data.