Script execution
This commit is contained in:
1 parent
65518b9fb0
commit
2fec6021b8
1 file changed
+7
-1
+7
-1
@@ -227,7 +227,13 @@ def wait_beam():
|
||||
|
||||
def before_readout():
|
||||
wait_beam()
|
||||
trig_scienta()
|
||||
sample_scienta = False
|
||||
for dev in ["Scienta.spectrum","EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]:
|
||||
if dev in SENSORS:
|
||||
sample_scienta = True
|
||||
break
|
||||
if sample_scienta:
|
||||
trig_scienta()
|
||||
|
||||
|
||||
def after_readout(rec):
|
||||
|
||||
Reference in new issue
Block a user