[argyllcms] Re: Spectroscan
- From: "Amin Gharehchaie" <amin@xxxxxxxxxxxxxxxx>
- To: <argyllcms@xxxxxxxxxxxxx>
- Date: Wed, 19 Mar 2008 07:20:10 +0100
Thanks Graeme
But I will wait untill the next release as I don't know anything about
compiling any source codes.
Best regards
Amin
----- Original Message -----
From: "Graeme Gill" <graeme@xxxxxxxxxxxxx>
To: <argyllcms@xxxxxxxxxxxxx>
Sent: Wednesday, March 19, 2008 6:30 AM
Subject: [argyllcms] Re: Spectroscan
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
6D0000007AC38500D10701000C0000000000027C0124000A00^M^J'
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
from:
|| strcmp(devn, "Spectrolino") != 0)
to
|| strncmp(devn, "Spectrolino",11) != 0)
and see how it goes.
thanks for the feedback.
Graeme Gill.
- References:
- [argyllcms] Spectroscan
- From: Amin Gharehchaie
- [argyllcms] Re: Spectroscan
- From: Graeme Gill
- [argyllcms] Re: Spectroscan
- From: Amin Gharehchaie
- [argyllcms] Re: Spectroscan
- From: Graeme Gill
Other related posts:
- » [argyllcms] Spectroscan
- » [argyllcms] Re: Spectroscan
- » [argyllcms] Re: Spectroscan
- » [argyllcms] Re: Spectroscan
- » [argyllcms] Re: Spectroscan
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 0x0icoms: About to return read ':315370656374726F6C696E6F20386D6D0000007AC38500D10701000C0000000000027C0124000A00^M^J' ICOM err 0x0icoms: Write_Read Write_Read success, returning ':315370656374726F6C696E6F20386D6D0000007AC38500D10701000C0000000000027C0124000A00^M^J' 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 code5370656374726F6C696E6F20386D6D000000 = 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 from: || strcmp(devn, "Spectrolino") != 0) to || strncmp(devn, "Spectrolino",11) != 0) and see how it goes. thanks for the feedback. Graeme Gill.
- [argyllcms] Spectroscan
- From: Amin Gharehchaie
- [argyllcms] Re: Spectroscan
- From: Graeme Gill
- [argyllcms] Re: Spectroscan
- From: Amin Gharehchaie
- [argyllcms] Re: Spectroscan
- From: Graeme Gill