running scans in parallel raises error when using --no-tmux
running scans in parallel e.g. with
TEST_SESSION [6]: def run3():
...: s0=loopscan(1,.1,diode4,wait=False,run=False)
...: s1=loopscan(5,.1,diode,wait=False,run=False)
...: s2=loopscan(3,.05,diode2,wait=False,run=False)
...: gevent.spawn(s0.run)
...: gevent.spawn(s1.run)
...: gevent.spawn(s2.run)
will result in the following message in the scan display:
Warning: a new scan 'test_session:tmp:scans:31_loopscan' has been started while scan 'test_session:tmp:scans:30_loopscan' is running.
New scan outputs will be ignored.
when using tmux, which I consider as reasonable. However without tmux we will get
!!! === KeyError: 'simulation_diode_controller:diode2' === !!! ( for more details type cmd 'last_error' )