From b2a71d7ed88c1e3bfb5838c83691a430b5857732 Mon Sep 17 00:00:00 2001 From: x03daop Date: Tue, 5 Apr 2016 15:24:59 +0200 Subject: [PATCH] Script execution --- script/local.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/script/local.py b/script/local.py index 4b103dfa..47760732 100644 --- a/script/local.py +++ b/script/local.py @@ -214,6 +214,11 @@ def after_readout(rec): create_diag_datasets() append_diag_datasets() +def after_scan(): + """ + Close shutter and turn off analyser + """ + caput("X03DA-PC:AFTER-SCAN.PROC", 1) def set_adc_averaging(): value = Scienta.getStepTime().read() * 10.0 #averaging count in 100ms