[argyllcms] Re: Meter autodetection upsets Lumagen scaler on serial port
- From: Graeme Gill <graeme@xxxxxxxxxxxxx>
- To: argyllcms@xxxxxxxxxxxxx
- Date: Fri, 28 Oct 2016 00:07:06 +1100
James Finnie wrote:
I am guessing there is some serial chatter related to discovering
meters which have a serial interface which is being interpreted by the
Lumagen, which has a very simple command structure.
what sort of serial port are you using to the Lumagen ?
(I'm guessing it's a USB to serial adapter...)
What sort of problems does it cause ?
It would be nice to either be able to make these apps or Argyll ignore
a particular serial port (maybe already possible and the app writers
need to allow the option), or alternatively to check if it is a
Lumagen and don't do anything else to it.
It's going to be painful if the Lumagen reacts to single characters, which
is what you are implying. The only thing Argyll does when fast
scanning a port is send it the string ";D024\r\n". It won't do any
more than that if it doesn't get a recognizable response.
The Lumagen has 4 different communication configurations, and I think
that it's only one of those that tries to respond to each character
rather than wait for a full line of input. So in theory setting any of
those other modes (Delimeters On, or Delimeters On with Ack/Nack, or
Delimeters On with Checsum and Ack/Nack) should prevent side effects.
I have no idea whether other software that talks to the Lumagen
is smart enough to cope with these modes though.
Other related posts: