> The ODB variable "/Runinfo/State" is a symptom of starting/stopping a run, rather than the cause. > > In C++, one uses `cm_transition()` to start/stop runs. > > In python code you can use the `start_run()` and `stop_run()` functions from `midas.client`: https://bitbucket.org/tmidas/midas/src/00ff089a836100186e9b26b9ca92623e672f0030/python/midas/client.py#lines-793:808 one can also run an external command: "mtransition START" and "mtransition STOP" K.O.