pre uc480 integration
This commit is contained in:
@@ -265,6 +265,11 @@ class ThorlabsServoDriver():
|
||||
if(msg['status_bits'] & StatusBits.MOT_SB_HOMED):
|
||||
self.am_homed[ch] = True
|
||||
|
||||
if(msg['status_bits'] & StatusBits.MOT_SB_ENABLED):
|
||||
self.am_enabled[ch] = True
|
||||
else:
|
||||
self.am_enabled[ch] = False
|
||||
|
||||
def _update0x0464(self, msg):
|
||||
'''
|
||||
_update0x0464 - internal function for MOVE_COMPLETED messages.
|
||||
@@ -344,7 +349,7 @@ class ThorlabsServoDriver():
|
||||
else:
|
||||
raise ValueError("I don't know that axis!")
|
||||
|
||||
self.send_and_wait(0x0443, timeout=timeout, chan_ident=1,
|
||||
self.send_and_wait(0x0443, timeout=timeout, retries=0, chan_ident=1,
|
||||
destination=axis, source=0x01)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user