Hi All

I've written a program that interacts with a serial device to send commands, and log data. I seem to get a

"The I/O operation has been aborted because of either a thread exit or an application request."

exception at strange times. I can open and close the port, fine. If I close the port and leave the software for several (~15) seconds I receive the exception when I next try to open the port. I'm at a loss for what is causing this exception, as it still occurs when I am not reading or writing to the device, just opening and closing the port.

Any thoughts would be greatly appreciated!

Cameron

Try reading through your code and being absolutely sure that you always "close" the port in every situation before you attempt to "open" the port.

you will get that exception sometimes if you attempt to open an already open port. otherwise its hard to say without seeing some code.