Problem with received data on serial device
Posted: Mon Dec 20, 2004 10:41 pm
I'm starting to play with parsing received data from a serial device now but I've run into a problem. The result string doesn't always show up in the Received Data property right away. Sometimes I see nothing and then after sending a few commands I get a long string with the results of all three of those commands in the Received Data property.
If I connect to the device with Hyperterminal and execute the commands by hand I always get a response back right away. One thing I thought might be worth mentioning - the return string from the device is terminated with an EOF (ascii 1A). Do you think this could have anything to do with it? I have another serial device and it always returns a result string right away.
-- Dave
If I connect to the device with Hyperterminal and execute the commands by hand I always get a response back right away. One thing I thought might be worth mentioning - the return string from the device is terminated with an EOF (ascii 1A). Do you think this could have anything to do with it? I have another serial device and it always returns a result string right away.
-- Dave