Closedown
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#Thu Aug 22 10:45:21 CEST 2019
|
||||
#Thu Aug 22 10:45:35 CEST 2019
|
||||
count_time=1
|
||||
data_root=/sls/X04SA/data/x04sa/ES3/expdata
|
||||
detectors=mythen,mythen.acquire_time,pixel,pixel.image_filename,image.intensity,image.corrected_intensity,image.matrix
|
||||
geometry=fourcv
|
||||
geometry=fourcvi
|
||||
roi=173 88 285 136
|
||||
user_exp=NNO
|
||||
user_name=pshell_development
|
||||
|
||||
@@ -15,6 +15,7 @@ import json
|
||||
INTERLOCKS = []
|
||||
|
||||
def clear_interlocks():
|
||||
global INTERLOCKS
|
||||
for interlock in INTERLOCKS:
|
||||
try:
|
||||
interlock.close()
|
||||
@@ -23,6 +24,7 @@ def clear_interlocks():
|
||||
INTERLOCKS = []
|
||||
|
||||
def add_interlock(interlock):
|
||||
global INTERLOCKS
|
||||
INTERLOCKS.append(interlock)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user