Motor status
Created by: meguiraun
For the motors/moveables we send data through the socketio. @marcus-oscarsson uses 'IDLE', 'BUSY', 'ABORT' in the beamline related signals. Looking at the AbstracMotor
the following is defined:
(NOTINITIALIZED, UNUSABLE, READY, MOVESTARTED, MOVING, ONLIMIT) = (0,1,2,3,4,5)
EXPORTER_TO_MOTOR_STATE = { "Invalid": NOTINITIALIZED,
"Fault": UNUSABLE,
"Ready": READY,
"Moving": MOVING,
"Created": NOTINITIALIZED,
"Initializing": NOTINITIALIZED,
"Unknown": UNUSABLE,
"LowLim": ONLIMIT,
"HighLim": ONLIMIT }
Should we agree on the keywords we send for all the moveables? I would vote for the ones appearing in AbstractMotor
, but I am not sure the reason for the difference, if any.