@
tom - thanks for the input - I'm using a serial connection and tried using AsyncStreamsText - that's what generated the stream in post #8 above.
The stream in # 13 above was generated with AsyncStreams Standard mode (no prefix)
Gaps in the stream reflect a break in the reading of the stream of data from the scale - in some instances the break is reflecting a missing space character or other numerical text data.
A serial terminal connected to the scale does not reflect the same breaks in transmission / reception.
I put a test for the length of the string being read in the screen update process - and if it's less than 3 (eg x.yz) - then I write "WAIT" to the screen and close the serial connection & asyncstreams and then re-start them, sort of a soft re-boot. This prevents someone from transmitting the data back to the server without having a valid weight value. This seems to be working at the moment.
It may be that the only way to really figure out where the break in data is occurring is to hook an oscilloscope up to the unit and sniff each packet / byte and see what's actually being sent. Based on the "look" of the stream in the log - it looks to me like the buffer is being chopped up and getting out of sync somehow.
Because it's an intermittent problem - it's really difficult to reproduce in real time.
Thanks for all the suggestions and help...
Here's the log results after letting it run in release mode overnight.
Program started.
Restarting Serial Connection 02/06/2014 12:33:20
Restarting Serial Connection 02/06/2014 12:33:20
Restarting Serial Connection 02/06/2014 13:00:35
Restarting Serial Connection 02/06/2014 13:51:33
Restarting Serial Connection 02/06/2014 14:10:24
Restarting Serial Connection 02/06/2014 14:41:05
Restarting Serial Connection 02/06/2014 15:23:58
Restarting Serial Connection 02/06/2014 15:54:08
Restarting Serial Connection 02/06/2014 17:44:56
Restarting Serial Connection 02/06/2014 18:24:53
Restarting Serial Connection 02/06/2014 19:12:45
Restarting Serial Connection 02/06/2014 19:12:45
Restarting Serial Connection 02/06/2014 19:17:55
Restarting Serial Connection 02/06/2014 19:44:49
Restarting Serial Connection 02/06/2014 20:20:34
Restarting Serial Connection 02/06/2014 20:39:23
Restarting Serial Connection 02/06/2014 21:20:10
Restarting Serial Connection 02/06/2014 21:41:01
Restarting Serial Connection 02/06/2014 22:20:48
Restarting Serial Connection 02/06/2014 23:00:14
Restarting Serial Connection 02/06/2014 23:20:54
Restarting Serial Connection 02/06/2014 23:57:21
Restarting Serial Connection 02/07/2014 00:30:36
Restarting Serial Connection 02/07/2014 00:50:12
Restarting Serial Connection 02/07/2014 01:09:52
Restarting Serial Connection 02/07/2014 01:28:28
Restarting Serial Connection 02/07/2014 01:42:53
Restarting Serial Connection 02/07/2014 02:07:38
Restarting Serial Connection 02/07/2014 02:26:33
Restarting Serial Connection 02/07/2014 03:23:24
Restarting Serial Connection 02/07/2014 03:43:49
Restarting Serial Connection 02/07/2014 04:01:49
Restarting Serial Connection 02/07/2014 04:25:26
Restarting Serial Connection 02/07/2014 04:53:42
Restarting Serial Connection 02/07/2014 05:09:11
Restarting Serial Connection 02/07/2014 05:34:12
Restarting Serial Connection 02/07/2014 06:20:17
Restarting Serial Connection 02/07/2014 07:08:25
Restarting Serial Connection 02/07/2014 07:55:40
Restarting Serial Connection 02/07/2014 08:40:39
Restarting Serial Connection 02/07/2014 09:11:22