09-03-2007 05:29 AM
09-03-2007 07:00 AM
Put the communication in its own state machine. states = initialize port, read and close port. the read state can cait until enough bits or a termination character is found and timeouts can be cleared (since the arival rate is unknown.) this loop will run only as fast as the arivat of messages, when a message is recieved queue it over to a handler loop.
Paul
09-03-2007 07:01 AM
Take a look into the shipped examples....
Detect Break Event.vi is one whitch should be easely adapted to your needs.