Closed rbudhrani closed 3 months ago
Description =========== To view and edit configuration parameters, the CONEX-CC driver needs to enter and exit its configuration state. This can be done with a context manager, e.g.:
from contextlib import contextmanager ... @contextmanager def configuration_state(self): try: yield self._enter_configuration_state() finally: self._exit_configuration_state()
and this can be the called by the other methods in the same class with
with self.configuration_state(): ....
Affected components
QMI
Modules to be created
n/a
Modules to be modified
qmi.instruments.newport.conex_cc
Tests to be created/updated
Documentation to be updated
Hardware
Description =========== To view and edit configuration parameters, the CONEX-CC driver needs to enter and exit its configuration state. This can be done with a context manager, e.g.:
and this can be the called by the other methods in the same class with
Affected components
QMI
Modules to be created
n/a
Modules to be modified
qmi.instruments.newport.conex_cc
Tests to be created/updated
Documentation to be updated
n/a
Hardware