[argyllcms] Re: Spectroscan

  • From: Graeme Gill <graeme@xxxxxxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Wed, 19 Mar 2008 16:30:39 +1100

Amin Gharehchaie wrote:

instType: Instrument type is 'GretagMacbeth SpectroScanT'

icoms: Write_Read called with ';2B^M^J'
icoms: About to write ';2B^M^J' ICOM err 0x0
icoms: About to return read ':315370656374726F6C696E6F20386D6D0000007AC38500D107
01000C0000000000027C0124000A00^M^J' ICOM err 0x0
icoms: Write_Read Write_Read success, returning ':315370656374726F6C696E6F20386D
Failed to initialise communications with instrument
or wrong instrument or bad configuration!
('Not expected instrument model' + 'No device error')
icoms: delete called
icoms: closing port

31 = OK return code
5370656374726F6C696E6F20386D6D000000 = Device Name Type = "Spectrolino 8mm"
7AC3 = Serial Number
8500 = Software Release
D107 = Year of production
0100 = Month of production
0C00 = Day of production
0000 = Hour of production
0000 = Minute of production
02 = Technology is Spectrolino
7C01 = First spectral wavelength
2400 = Number of spectral wavelengths
0A00 = Distance between spectral wavelengths

so the problem most likely is that the driver is expecting
a Device Name Type of "Spectrolino" and instead is finding
"Spectrolino 8mm". Simple enough to fix in the next release.

If you're compiling from source change line 284 of spectro/ss.c
        || strcmp(devn, "Spectrolino") != 0)
        || strncmp(devn, "Spectrolino",11) != 0)

and see how it goes.

thanks for the feedback.

Graeme Gill.

Other related posts: