[argyllcms] Re: Aw: Re: Re: Instrument Access Failed

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 01 Aug 2015 16:06:27 +1000

Lars-Daniel Weber wrote:

What about a simple close of the virtual COM-port and re-initialization of it
when the communcation error occures.

There is no virtual COM-port - the driver talks USB. There is a lot
of state in the driver (calibrations, instrument state etc.)

You could loop the "press any key" menu
until you quit it. Then you don't need to save any additional states or data.

That won't work if the USB isn't talking anymore. USB is rather fragile
with a lot of devices (poor embedded controller code, typically derived
from the manufacturers examples). Most of the time when it breaks down,
nothing but a fresh open/close or even un-plug/re-plug will get it going again.

It takes about 2-3 seconds to restart the application, after I got the
timeout :)
The device works again immediately.

Sure - and that way everything gets re-setup from scratch.

Graeme Gill.


Other related posts: