[argyllcms] Re: Multiple issues with Argyll, please help

  • From: Rajiv Mehra <to_rajivmehra@xxxxxxxxx>
  • To: argyllcms@xxxxxxxxxxxxx
  • Date: Sat, 30 Aug 2008 07:06:12 -0700 (PDT)

Uh-Oh.........it is happening again today. 
Here is the spotread o/p:
C:\calibration\Argyll_V1.0.2\bin>spotread -y c -D
instType: About to init Serial I/O
instType: Trying different baud rates (20000 msec to go)
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 7
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: About to open port 'COM1'
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 9
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 6
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 5
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 4
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 10
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 11
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 12
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 3
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 2
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 1
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 7
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 9
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 6
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 5
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 4
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 10
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 11
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 12
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 3
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 2
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 1
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 7
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 9
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 6
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 5
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 4
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 10
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 11
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 12
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 3
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 2
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 1
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
icoms: About to set port characteristics:
       Port = 1
       Flow control = 1
       Baud Rate = 7
       Parity = 1
       Stop bits = 1
       Word length = 4
icoms: serial port characteristics set ok
icoms: Write_Read called with ';D024^M^J'
icoms: About to write ';D024^M^J' ICOM err 0x0
icoms: About to return read '' ICOM err 0x2000
icoms: Write_Read Write failed - returning 0x2000
instType: Failed to establish coms
spotread: Warning - Unknown, inappropriate or no instrument detected
Read Print Spot values, Version 1.0.2
Author: Graeme W. Gill, licensed under the GPL Version 3
usage: spotread [-options] [logfile]
 -v                   Verbose mode
 -s                   Print spectrum for each reading
 -S                   Plot spectrum for each reading
 -c listno            Set communication port from the following list (default 1)
    1 = 'COM1'
    2 = 'COM3'
 -t                   Use transmission measurement mode
 -d                   Use display measurement mode (absolute results)
 -db                  Use display white brightness relative measurement mode
 -dw                  Use display white relative measurement mode
 -e                   Use emissive measurement mode (absolute results)
 -a                   Use ambient measurement mode (absolute results)
 -y c|l               Display type (if emissive), c = CRT, l = LCD
 -i illum             Choose illuminant for print/transparency spectral data:
                      A, D50 (def.), D65, F5, F8, F10 or file.sp
 -o observ            Choose CIE Observer for spectral data:
                      1931_2 (def), 1964_10, S&B 1955_2, shaw, J&V 1978_2
                      (Choose FWA during operation)
 -f filter            Set filter configuration (if aplicable):
    n                  None
    p                  Polarising filter
    6                  D65
    u                  U.V. Cut
 -F extrafilterfile   Apply extra filter compensation file
 -x                   Display Yxy instead of Lab
 -T                   Display correlated color temperatures
 -N                   Disable auto calibration of instrument
 -H                   Start in high resolution spectrum mode (if available)
 -W n|h|x             Ovride serial port flow control: n = none, h = HW, x = Xon
/Xoff
 -D [level]           Print debug diagnostics to stderr
 logfile              Optional file to save reading results as text
C:\calibration\Argyll_V1.0.2\bin>

 Regards,
Rajiv Mehra



----- Original Message ----
From: Graeme Gill <graeme@xxxxxxxxxxxxx>
To: argyllcms@xxxxxxxxxxxxx
Sent: Tuesday, August 26, 2008 10:46:35 PM
Subject: [argyllcms] Re: Multiple issues with Argyll, please help

Rajiv Mehra wrote:
> here is the spotread output for a totally dark screen (a tiny command prompt 
> window was there).
> Thanks!

>  Result is XYZ: 0.000031 0.000017 0.000048, D50 Lab: 0.000155 0.000602 
>-0.000640

It all seems to be working as expected.

You need to capture the debugging output when there is a problem.

Graeme Gill.


      

Other related posts: