Script execution
This commit is contained in:
@@ -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