09-13-2012 10:48 AM
If I run the UDP LV examples, I can receive a string; compare that string with a string constan; and get true for an answer. I have python code that sends the exact same string. I can receive it. In a text window it appears to be exactly the same as what I sent from the LV example terminating characters included. However, the comparison with the string constant is always negative.
Thoughts?
09-13-2012 11:38 AM - edited 09-13-2012 11:39 AM
Does the Python string contain a NULL character at the end? Is the Python string Unicode encoded? Have you compared the lengths of the strings? Have you changed the indicators displaying the strings to display as hex? These are all things you should do to see why the comparision doesn't match.
09-13-2012 12:49 PM
Thanks. I had look at the display with the "\" characters but not in the hex display.