LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

slash codes

Hi all,
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.
 
Jim
Jim

LV 2020
0 Kudos
Message 1 of 3
(2,580 Views)
0 Kudos
Message 2 of 3
(2,574 Views)

Thanks Dennis.

Jim

Jim

LV 2020
0 Kudos
Message 3 of 3
(2,567 Views)