Hi everybody. I'm writing a software that elaborates datas belonging from ttyUSB0 device; datas come with about 300 ms period, my software reads them , stores them and, with variable period, does its calculations writes the result and restarts the cycle again. The problem is that after about 1 h of good behavior, the software stops reading data and it waits on a 'read' from ttyUSB0 system call. It looks like no datas are on the device, but the datas come normally (checked with an oscilloscope).
Any idea? There is a buffer to flush? My program is written in C, starting from fox's serial_test. SC
