is_closed_loop_control_mode_in_idle#
- async lsst.ts.m2gui.is_closed_loop_control_mode_in_idle(current_closed_loop_control_mode: ClosedLoopControlMode, title: str, is_prompted: bool = True) bool#
The closed-loop control mode is in idle or not.
Parameters#
- current_closed_loop_control_modeenum
MTM2.ClosedLoopControlMode Current closed-loop control mode.
- title
str Title of the dialog.
- is_prompted
bool, optional When False, dialog will not be executed. That is used for tests, which shall not be the case when used in the real GUI. (the default is True)
Returns#
boolTrue if the closed-loop control mode is in idle. False if not.
- current_closed_loop_control_modeenum