mxcubecore.HardwareObjects.StateMachine#
Classes
|
Finite State Machine (FSM) is a mathematical model of a closed or opened loop discreet-event systems with well defined state. |
- class mxcubecore.HardwareObjects.StateMachine.StateMachine(name)[source]#
Bases:
HardwareObject
Finite State Machine (FSM) is a mathematical model of a closed or opened loop discreet-event systems with well defined state. It is wildly used to define functioning system and control their execution. In the case of MX beamlines and MXCuBE FSM represents different state where certain action from a user is requested. It is possible to describe a sequence of user actions as a discreet state that are logically connected. For example, each MX experiment requires a crystal to be mounted on a goniostat. If not crystal is mounted then it makes no sense to continue an experiment. The actual transition logic is implemented in the update_fsm_state()