David L.
2007-08-09 21:40:12 UTC
Hi Jon,
There is no property to clear the buffer, but this can be
done by stopping and starting the task. The reason for the thread hanging
is that your timeout is set to -1, which means no timeout. Since this is the
case, the program will wait until a trigger is pressed to continue along with
code. Change the timeout to an actual number, and the infinite hang will go
away.
There is no property to clear the buffer, but this can be
done by stopping and starting the task. The reason for the thread hanging
is that your timeout is set to -1, which means no timeout. Since this is the
case, the program will wait until a trigger is pressed to continue along with
code. Change the timeout to an actual number, and the infinite hang will go
away.