Docklight crashes “Internal error 1000 in module MdCommunication.printAndLogIntCommData “.

Docklight crashes “Internal error 1000 in module MdCommunication.printAndLogIntCommData “.

Applies to: Docklight V2.1.10 / Docklight Scripting V2.1.10 and earlier, Article ID: dl_prb029

This is a crash which was unfortunately only appearing under certain conditions and remained undetected for a long time.
A) In Docklight V1.9, the following situation could occur:
If you are opening a log file AFTER starting the Docklight communication, e.g. using script code like DL.StartCommunication | DL.StartLogging “mylog”, True, “AHDB”. This triggers the above internal error, if the following is true:
– At least one of the representations used for logging (ASCII, HEX, Decimal or Binary) is disabled in the Docklight Communication Window.
B) In Docklight V2.1.10, using high data throughput and serial device drivers with (nonstandard) buffer sizes above 4096 bytes could also produce the above crash.

In both cases the problem can be fixed by using the updated Docklight software packages below:

Docklight Downloads