Skip to main content

Posts

Showing posts from 2016

Docklight, Windows 10 and high-DPI displays

We do like continuity, both in software and hardware. We do not change our development hardware very frequently, but invest in solid hardware that we upgrade over the years. So only very recently we purchased the first notebook that actually has HD resolution and supports 4K screens.
With 125% text size being the default Windows setting on such systems, we noticed the blurry appearance of Docklight, as it happens with other “classic” software, and even some Windows components like MMC.
Since a text-heavy task like analyzing serial communication data should really take advantage of modern fonts and screens, we decided to provide a short-term solution. Both Docklight and Docklight Scripting have been updated and the new versions can be downloaded from our website:
https://docklight.de/downloads/
Docklight V2.2.8 and Docklight Scripting V2.2.8 give you the best usability on new Windows 10 PCs with HD or even 4K high resolution displays, where 125% text size is the default display setting.

A…

Docklight Scripting V2.2 – Windows 10, USB HID and user interfaces

Just before going into summer holiday mode, we released free maintenance updates for Docklight and Docklight Scripting. Here is what we improved before the outdoors became too tempting...


A lot of attention went into flawless Windows 10 compatibility, especially when accessing USB HID Custom Class devices or COM device drivers with input data buffer > 4KB.

In addition, a Docklight script (.pts file) can now be loaded and started automatically along with the Docklight project (.ptp file). If your project is called "robotest.ptp", simply name your script file "robotest_auto.pts" and make sure it is located in the same folder. This is especially useful for any script that with event-based processing using Sub On_Send() or Sub On_Receive().

The Docklight main screen underwent some fine-tuning. Finally there is mouse wheel support for the Send Sequence and Receive Sequence lists. Send and Receive Sequence lists are now protected against accidental reordering - to cha…

USB HID and Windows 10

TL;DR; Docklight Scripting V2.1 USB HID support didn't work on Windows 10. Here is an updated version with additional improvements:
https://docklight.de/download/Docklight_Scripting.zip
The Problem
Apparently, Windows 10 has a different behavior concerning HID access than earlier versions. Docklight Scripting uses HIDAPI from Alan Ott / Signal 11, and the problem was recently detected and resolved in the HIPAPI implementation (see https://github.com/signal11/hidapi/issues/231). 
The Solution We updated Docklight Scripting's HIDAPI code, so it can now successfully open a HID connection in Windows 10:


We also added two Docklight-specific improvements concerning USB HID access:

Added support for variable Output Report IDs You can work now with varying, non-zero Output Report IDs using the :I communication channel option, e.g. USBHID:4D8:F708:I Now the first character of your Send Sequences is used as the Output Report ID (instead of the default ID = 0 used with standard settings), and th…