by Jeff Barnes » Sat Sep 17, 2011 11:21 am
Not sure if this will help but in my app I do the following to see if data is still hitting the serial port:
Keep in mind that with my app the serial device sends data every second so I always expect to see something on the port unless the device is turned off or disconnected.
- Code: Select all Expand view
if ReadComm( nComm , @cDataRead) <> 0
//data on serial port
else
//no data on serial port
endif
Thanks,
Jeff Barnes
(FWH 16.11, xHarbour 1.2.3, Bcc730)