VSCANNER movement bug.
Problem after some movements...
SESSION_SXM [12]: while(True):
...: sampy.move(50)
...: sampy.move(100)
...: sampy.move(0)
CTRL-C
^C!!! === SerialTimeout: timeout on serial(rfc2217://lid213.esrf.fr:28206) === !!!
!!! === SerialTimeout: timeout on serial(rfc2217://lid213.esrf.fr:28206) === !!!
SESSION_SXM [13]:
SESSION_SXM [13]: wm(sampy)
sampy
-------- ---------
User
High 100.00000
Current -23.63570 <----------------- GNI ????? <0 position ??? (VSCANNER display: 0.007)
Low 0.00000
Offset 0.00000
SESSION_SXM [21]: sync()
DEBUG 11,011 s.c.VSCANNER: cmd='?STATE'
DEBUG 11,011 s.c.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 11,011 s.c.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 11,038 s.c.VSCANNER.Serial[]: Rx: bytes=6 b'READY\r'
DEBUG 11,038 s.c.VSCANNER.Serial[]: readline bytes=6 b'READY\r'
DEBUG 11,038 s.c.VSCANNER: cmd='?VX'
DEBUG 11,038 s.c.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 11,038 s.c.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 11,062 s.c.VSCANNER.Serial[]: Rx: bytes=7 b'14.463\r' <----------- 14.463 ???
DEBUG 11,062 s.c.VSCANNER.Serial[]: readline bytes=7 b'14.463\r'
DEBUG 11,062 s.c.VSCANNER: position=14.463000
DEBUG 11,066 s.c.VSCANNER: cmd='?STATE'
DEBUG 11,066 s.c.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 11,066 s.c.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 11,094 s.c.VSCANNER.Serial[]: Rx: bytes=6 b'READY\r'
DEBUG 11,094 s.c.VSCANNER.Serial[]: readline bytes=6 b'READY\r'
DEBUG 11,094 s.c.VSCANNER: cmd='?VY'
DEBUG 11,094 s.c.VSCANNER.Serial[]: write bytes=5 b'?VY\r\n'
DEBUG 11,095 s.c.VSCANNER.Serial[]: Tx: bytes=5 b'?VY\r\n'
DEBUG 11,110 s.c.VSCANNER.Serial[]: Rx: bytes=2 b'0\r'
DEBUG 11,110 s.c.VSCANNER.Serial[]: readline bytes=2 b'0\r'
DEBUG 11,110 s.c.VSCANNER: position=0.000000
DEBUG 00,047 s.VSCANNER: cmd='?STATE'
DEBUG 00,047 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,047 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,078 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,078 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,078 s.VSCANNER: cmd='?VX'
DEBUG 00,078 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,079 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,102 s.VSCANNER.Serial[]: Rx: bytes=8 b'9.99883\r'
DEBUG 00,102 s.VSCANNER.Serial[]: readline bytes=8 b'9.99883\r'
DEBUG 00,102 s.VSCANNER: position=9.998830
DEBUG 00,127 s.VSCANNER: cmd='?STATE'
DEBUG 00,127 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,127 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,150 s.VSCANNER.Serial[]: Rx: bytes=6 b'READY\r'
DEBUG 00,150 s.VSCANNER.Serial[]: readline bytes=6 b'READY\r'
DEBUG 00,151 s.VSCANNER: cmd='?VX'
DEBUG 00,151 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,151 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,174 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.0003\r'
DEBUG 00,174 s.VSCANNER.Serial[]: readline bytes=8 b'10.0003\r'
DEBUG 00,174 s.VSCANNER: position=10.000300 <--------------------------------------------- ???
DEBUG 00,180 s.VSCANNER.sampy: user_target_pos=0 wait=True relative=False
DEBUG 00,180 s.VSCANNER.sampy: prepare_move: user_target_pos=0, relative=False
DEBUG 00,181 s.VSCANNER: cmd='?VX'
DEBUG 00,181 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,181 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,206 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.0003\r'
DEBUG 00,206 s.VSCANNER.Serial[]: readline bytes=8 b'10.0003\r'
DEBUG 00,206 s.VSCANNER: position=10.000300
DEBUG 00,207 s.VSCANNER: scan move
DEBUG 00,207 s.VSCANNER: _cmd_LINE=LINE -10.0003 0 1 C
DEBUG 00,207 s.VSCANNER.Serial[]: write bytes=21 b'LINE -10.0003 0 1 C\r\n' <--------------
DEBUG 00,207 s.VSCANNER.Serial[]: Tx: bytes=21 b'LINE -10.0003 0 1 C\r\n'
DEBUG 00,207 s.VSCANNER: _cmd_SCAN=SCAN 0 0 1 U
DEBUG 00,208 s.VSCANNER.Serial[]: write bytes=14 b'SCAN 0 0 1 U\r\n'
DEBUG 00,208 s.VSCANNER.Serial[]: Tx: bytes=14 b'SCAN 0 0 1 U\r\n'
DEBUG 00,208 s.VSCANNER: _cmd_PSHAPE=PSHAPE ALL
DEBUG 00,208 s.VSCANNER.Serial[]: write bytes=12 b'PSHAPE ALL\r\n'
DEBUG 00,208 s.VSCANNER.Serial[]: Tx: bytes=12 b'PSHAPE ALL\r\n'
DEBUG 00,209 s.VSCANNER: SCAN move
DEBUG 00,209 s.VSCANNER: _cmd_START=START 1 NORET
DEBUG 00,209 s.VSCANNER.Serial[]: write bytes=15 b'START 1 NORET\r\n'
DEBUG 00,210 s.VSCANNER.Serial[]: Tx: bytes=15 b'START 1 NORET\r\n'
DEBUG 00,210 s.VSCANNER: cmd='?STATE'
DEBUG 00,210 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,210 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,302 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,302 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,302 s.VSCANNER: cmd='?VX'
DEBUG 00,302 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,303 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,326 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.0366\r' <-----------------
DEBUG 00,326 s.VSCANNER.Serial[]: readline bytes=8 b'10.0366\r'
DEBUG 00,326 s.VSCANNER: position=10.036600
DEBUG 00,351 s.VSCANNER: cmd='?STATE'
DEBUG 00,351 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,351 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,382 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,382 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,382 s.VSCANNER: cmd='?VX'
DEBUG 00,382 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,383 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,406 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.1167\r'
DEBUG 00,406 s.VSCANNER.Serial[]: readline bytes=8 b'10.1167\r'
DEBUG 00,406 s.VSCANNER: position=10.116700
DEBUG 00,431 s.VSCANNER: cmd='?STATE'
DEBUG 00,431 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,431 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,462 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,462 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,462 s.VSCANNER: cmd='?VX'
DEBUG 00,462 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,463 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,486 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.1968\r'
DEBUG 00,486 s.VSCANNER.Serial[]: readline bytes=8 b'10.1968\r'
DEBUG 00,486 s.VSCANNER: position=10.196800
DEBUG 00,511 s.VSCANNER: cmd='?STATE'
DEBUG 00,511 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,511 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,542 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,542 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,542 s.VSCANNER: cmd='?VX'
DEBUG 00,542 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,543 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,566 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.2768\r'
DEBUG 00,566 s.VSCANNER.Serial[]: readline bytes=8 b'10.2768\r'
DEBUG 00,566 s.VSCANNER: position=10.276800
DEBUG 00,591 s.VSCANNER: cmd='?STATE'
DEBUG 00,591 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,591 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,622 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,622 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,622 s.VSCANNER: cmd='?VX'
DEBUG 00,622 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,623 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,646 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.3568\r'
DEBUG 00,646 s.VSCANNER.Serial[]: readline bytes=8 b'10.3568\r'
DEBUG 00,646 s.VSCANNER: position=10.356800
DEBUG 00,671 s.VSCANNER: cmd='?STATE'
DEBUG 00,671 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,671 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,702 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,702 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,702 s.VSCANNER: cmd='?VX'
DEBUG 00,703 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,703 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,726 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.4368\r'
DEBUG 00,726 s.VSCANNER.Serial[]: readline bytes=8 b'10.4368\r'
DEBUG 00,726 s.VSCANNER: position=10.436800
DEBUG 00,751 s.VSCANNER: cmd='?STATE'
DEBUG 00,751 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,751 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,782 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,782 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,782 s.VSCANNER: cmd='?VX'
DEBUG 00,782 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,783 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,806 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.5168\r'
DEBUG 00,806 s.VSCANNER.Serial[]: readline bytes=8 b'10.5168\r'
DEBUG 00,806 s.VSCANNER: position=10.516800
DEBUG 00,831 s.VSCANNER: cmd='?STATE'
DEBUG 00,831 s.VSCANNER.Serial[]: write bytes=8 b'?STATE\r\n'
DEBUG 00,831 s.VSCANNER.Serial[]: Tx: bytes=8 b'?STATE\r\n'
DEBUG 00,862 s.VSCANNER.Serial[]: Rx: bytes=9 b'LRUNNING\r'
DEBUG 00,862 s.VSCANNER.Serial[]: readline bytes=9 b'LRUNNING\r'
DEBUG 00,862 s.VSCANNER: cmd='?VX'
DEBUG 00,862 s.VSCANNER.Serial[]: write bytes=5 b'?VX\r\n'
DEBUG 00,863 s.VSCANNER.Serial[]: Tx: bytes=5 b'?VX\r\n'
DEBUG 00,886 s.VSCANNER.Serial[]: Rx: bytes=8 b'10.5968\r'
DEBUG 00,886 s.VSCANNER.Serial[]: readline bytes=8 b'10.5968\r'