G
Guest
I am using the new SerialPort class to read from several different pieces of
hardware. I have gotten it to work with devices that conect using both real
and virtual serial ports, but I have a piece of hardware that the serialport
object isn't working for.
The non-working device is a barcode scanner that has a USB connection and a
virtual serial port driver. The driver says it is only half duplex, so that
may be the problem. I downloaded a utility program that monitors serial port
traffic, and it can see the data coming in just fine, however when I try to
read using the SerialPort object I get the following error:
IOException was caught
The I/O operation has been aborted because of either a thread exit or an
application request.
Since I was able to get it to work with other devices, I suspect the problem
is with this particular device, probably the driver being half duplex. Are
there settings I can use to overcome this?
hardware. I have gotten it to work with devices that conect using both real
and virtual serial ports, but I have a piece of hardware that the serialport
object isn't working for.
The non-working device is a barcode scanner that has a USB connection and a
virtual serial port driver. The driver says it is only half duplex, so that
may be the problem. I downloaded a utility program that monitors serial port
traffic, and it can see the data coming in just fine, however when I try to
read using the SerialPort object I get the following error:
IOException was caught
The I/O operation has been aborted because of either a thread exit or an
application request.
Since I was able to get it to work with other devices, I suspect the problem
is with this particular device, probably the driver being half duplex. Are
there settings I can use to overcome this?