07-18-2009 09:20 AM
Hi,
I have a problem to use the data from serial port. The system sends to serial data in format $33 $33 $31 $00 $2C $00 $32 $39 $00 .
Normally I use fixed bytes to read and only use Type Cast to get the data and work with it. In this case the entry bytes are variable way. In this example it sends values of temp and time. 33 33 31 00 is 331 decimal temp. and 29 second from 32 39 00. 2c is "," and 00 is to finish each value.
I would like any advise to manages it properly. I only want to get the temp and time values and show in graph.
Thanks for all, Regards.
07-18-2009 08:35 PM - edited 07-18-2009 08:35 PM
hello,
Some difficulties to see where is the problem,
could you show us what your read buffer indicator really contains ? (print screen)
Regards
Tinnitus