> Baud 9600 , 8 Bits , 1 Stop > > Trying to send command and retrieve data at < 1 second intervals via Com Port. > > Something like , > > repeat xx > write "AT00" & numToChar(13) to driver COM1: > wait ----- sometime > read from driver COM1: > put it into received > end repeat > > This works great with wait time >= 1 second but errors if any faster.
Try using my Serial test stack <http://www.troz.net/Rev/tutorials/SerialTest.rev.gz> It uses a different method with no waiting. It writes to the com port but has a read handler that it loops through every 5 ticks to pick up any incoming data that might be queued. Testing by sending "AT00" to my modem, it returns "ERROR", but it comes back instantly. HTH, Sarah _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
