keithley: (6485) initialization problem after power cycle on the equipment
- after a power cycle on the equipment the READ? cmd gives timeout, aborting ct, scans, ...
ID30B [5]: ct(0.1,monocal_diode)
DEBUG 2020-07-01 17:16:27,229 global.controllers.KeithleySCPI(SCPI(Serial[rfc2217://lid30a2:28076])).SCPI(Serial[rfc2217://lid30a2:28076]): [start] read bytes=6 READ?\x0a
DEBUG 2020-07-01 17:16:27,230 global.controllers.KeithleySCPI(SCPI(Serial[rfc2217://lid30a2:28076])).SCPI(Serial[rfc2217://lid30a2:28076]).Serial[rfc2217://lid30a2:28076]: write bytes=6 b'READ?\n'
DEBUG 2020-07-01 17:16:27,230 global.controllers.KeithleySCPI(SCPI(Serial[rfc2217://lid30a2:28076])).SCPI(Serial[rfc2217://lid30a2:28076]).Serial[rfc2217://lid30a2:28076]: Tx: bytes=6 b'READ?\n'
DEBUG 2020-07-01 17:16:32,237 global.controllers.KeithleySCPI(SCPI(Serial[rfc2217://lid30a2:28076])).SCPI(Serial[rfc2217://lid30a2:28076]).Serial[rfc2217://lid30a2:28076]: Rx: bytes=0
DEBUG 2020-07-01 17:16:32,238 global.controllers.KeithleySCPI(SCPI(Serial[rfc2217://lid30a2:28076])).SCPI(Serial[rfc2217://lid30a2:28076]).Serial[rfc2217://lid30a2:28076]: close
ERROR 2020-07-01 17:16:32,253 bliss.scans: Exception caught in keithley.wait_ready
!!! === SerialTimeout: timeout on serial(rfc2217://lid30a2:28076) === !!! ( for more details type cmd 'last_error' )
!!! === SerialTimeout: timeout on serial(rfc2217://lid30a2:28076) === !!! ( for more details type cmd 'last_error' )
!!! === SerialTimeout: timeout on serial(rfc2217://lid30a2:28076) === !!! ( for more details type cmd 'last_error' )
!!! === SerialTimeout: timeout on serial(rfc2217://lid30a2:28076) === !!! ( for more details type cmd 'last_error' )
!!! === SerialTimeout: timeout on serial(rfc2217://lid30a2:28076) === !!! ( for more details type cmd 'last_error' )
- if the equipment is shared with other session, restart the session will no reinitialize it
- with the timeout error, bliss closes the comm channel
- could it be possible in addition to close the comm channel, clear also the cache associated to the initialization?
- in that way in the next connection the equipment will be properly configured