towards cta part 2

This commit is contained in:
2024-01-23 13:11:23 +01:00
parent c270467e44
commit 5e954dec77
3 changed files with 135 additions and 13 deletions

View File

@@ -2420,6 +2420,7 @@ Author Thierry Zamofing (thierry.zamofing@psi.ch)
shutter.open()
jf.acquire(num_pts)
sp.trigger(1.0) # send a start trigger (if needed) after given time
_log.info('start trigger sent')
if dt._comm is None:
dlg.setLabelText("run motion/acquisition (simulated)")
dlg.setMaximum(num_pts)
@@ -2450,7 +2451,7 @@ Author Thierry Zamofing (thierry.zamofing@psi.ch)
dp.plot_gather(mode=11)
plt.show(block=False)
#plt.show(block=True)
_log.info('Shutter closed')
shutter.close()
# pv-monitor-func: start monitors
if not cfg.value(AppCfg.GBL_MISC)['live_on_collect']: