openUC2 / ImSwitchConfig

3 stars 2 forks source link

error with homeAxis in uc2_move_positoinlist.py #2

Closed ghost closed 7 months ago

ghost commented 7 months ago

@beniroquai The following commands in the document _uc2_movepositoinlist.py cause imswitch to hang:

api.imcontrol.homeAxis(positionerName, "X")

api.imcontrol.homeAxis(positionerName, "Y")

beniroquai commented 7 months ago

Fixed in https://github.com/openUC2/ImSwitch/blob/master/imswitch/imcontrol/controller/controllers/PositionerController.py#L141 due to missing control statemetn (run-in-background). However, the motor is not reporting the reach of the final destination. Would you mind showing the the result tomorrow? :)