[argyllcms] Re: dispcal errors

Kai-Uwe Behrmann wrote:

does anyone encounter problems with the serial bus using argyll's measurement tools?

I tried dispcal and printspot on several computers with varying success.

Often I get errors like following:

serio: Write_Read called with ';2B^M^J'
About to write ';2B^M^J'

This is TargetIdRequest

serio: Write returning with 0x0
serio: Read called
serio: About to return read ':31436F6C6F7253636F7574205320000000000087828
B00D307090004000F000000027C0124000A00^M^J' lerr 0x0
serio: Read returning with 0x0

And the response decodes like this:

31 TargetIdAnswer
436F6C6F7253636F75742532000000000008  Device Name = "ColorScout%2"
7828 Serial Number
B00D Software Release
3070 Year of Production = 28720
9000 Month of Production = 144
4000 Day of Production = 64
F000 Hour of Production = 240
0000 Minuite of Production
27   Target Technology type
C012 Starting wavelength
4000 Number of wavelengths
A00  Distance Between spectral wavelengths.

I'd say a character has been lost at the end of the Device Name.
It should end in 0, and everything following is out of line.

I'm not enabling any flow control by default. Perhaps this is the
problem on some systems.
You could try adding the following after line 307 of spectro/unixio.h:

        | IXON | IXOFF

and commending out lines 215, 216, 228 and 229 in ss.c

and see if things improve. Let me know, and I'll add better support
for this in the drivers in the future. (The default flow control on the
instrument is configured with the DIP switches on the back. You'd have to
check it's set to Xon/Xoff.)

Here's the sort of thing I get from my instrument for TargetIdRequest:

31
5370656374726F6C696E6F00000000000000 = "Spectrolino"
65B4 = 46181
8500 = 133 = V1.33
D107 = 2001
0300 = 3
0700 = 7
0000 = 0
0000 = 0
02   = 2
7C01 = 380nm
2400 = 36
0A00 = 10nm

Graeme Gill.


Other related posts: