When I use Docklight V2.3 with my COM device, I receive periodic error messages “Docklight reports: General I/O error on COM…”. In Docklight V2.2 this does not happen. How can I make Docklight V2.3 work with my device?

When I use Docklight V2.3 with my COM device, I receive periodic error messages “Docklight reports: General I/O error on COM…”. In Docklight V2.2 this does not happen. How can I make Docklight V2.3 work with my device?

Applies to: Docklight / Docklight Scripting V2.3, Article ID: dl_prb058

Docklight V2.3 provides additional error checking which seems to cause problems with some very few COM devices. To revert to the V2.2 behavior, perform the following steps:

* Install the below update

* Use menu Tools | Expert Options… , go to the “Devices” tab and activate the “Disable I/O error detection…” checkbox.

Background:

In Docklight V2.3, we changed the way the COM port RX/TX code reacts to any error from Windows “overlapped I/O”. Docklight V2.2 simply ignored such error values. This meant that V2.2 could not detect or recover from hotplug/replug situations with USB-to-RS232 converters. Docklight V2.3 reports such errors and tries to re-connect to the device, allowing you to unplug a USB-to-RS232 dongle, plug it back, and after a few seconds, Docklight will continue to communicate. The same is true for notebook standby/resume situations.

After the V2.3 release we have heared from some specific COM devices that seems to immediately trigger such I/O errors, and while they were fine to use with Docklight V2.2, in V2.3 this was not possible. The new Expert Option described above will fix this siuation,.

NOTE: The problem also appears when using Docklight on Linux, as described in the link below.

Docklight V2.3.30 Customer Support Version (expert option: i/o errors)

Docklight Scripting V2.3.30 Customer Support Version (expert option: i/o errors)

Docklight News – RS232 / tty testing and simulation on Linux