I've got a small labview program writing a string to the stream and then on the client side (written in C#), when I read the stream every 20ms, it comes back jumbled after the first read.
For instance, if I wrote a string "a b c" to the stream, it would read like this for the first four iterations (each line is what is read at 20ms):
Quote:
"a b c"
" ca b"
"b ca "
"ca b "
|
As you can imagine, this is very annoying if I'm splitting up the string on the client side and using the three numbers for calculations.
Do I need to change the speed at which I'm reading the string or what's causing the inconsistency?