APS-2BM-MIC / ipython-user2bmb

ipython configurations for the tomography instrument
2 stars 5 forks source link

mona:StopAcquisition did not stop area detector #39

Closed prjemian closed 6 years ago

prjemian commented 6 years ago

mona verifier issued a stop that was handled by the RunEngine. Good.

In [58]: ERROR:ophyd.signal.mona:StopAcquisition:Subscription value callback exception (EpicsSignal(read_pv='mona:StopAcquisition', name='mona:StopAcquisition', value=1, timestamp=1534615026.826786, pv_kw={}, auto_monitor=False, string=False, write_pv='mona:StopAcquisition', limits=False, put_complete=False))
Traceback (most recent call last):
  File "/home/beams/USER2BMB/Apps/BlueSky/lib/python3.6/site-packages/ophyd/ophydobj.py", line 268, in inner
    cb(*args, **kwargs)
  File "/home/beams8/USER2BMB/.ipython/profile_2bmb/startup/45-interruptions.py", line 25, in __call__
    self._ev.set(0)
TypeError: set() takes 1 positional argument but 2 were given
154.82s - flying   x = 0.0000  y = 1.6000  r = 153.1330  theta = 153.1330  image # 640

But, the stop handling did not stop the area detector acquisition: these additional steps are needed

caput 2bmbPG3:cam1:Acquire 0
caput 2bmbPG3:HDF1:Capture 0
caput 2bmbPG3:HDF1:Enable 0

perhaps other things associated with det.unstage()

prjemian commented 6 years ago

Also, handling does not reset mona:StopAcquisition