Script execution
This commit is contained in:
+4
-2
@@ -351,7 +351,8 @@ def is_scienta_sampling():
|
||||
if dev in SENSORS:
|
||||
sample_scienta = True
|
||||
break
|
||||
for dev in [Scienta.spectrum,EnergyDistribution, AngleDistribution, Scienta.dataMatrix, Counts]:
|
||||
for dev in [ #"Scienta.spectrum," ,
|
||||
EnergyDistribution, AngleDistribution, Scienta.dataMatrix, Counts]:
|
||||
if dev in SENSORS:
|
||||
sample_scienta = True
|
||||
break
|
||||
@@ -415,7 +416,8 @@ def adjust_sensors():
|
||||
if SENSORS is not None:
|
||||
# Move integration to end
|
||||
#sample_scienta = False
|
||||
for dev in ["Scienta.spectrum","EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]:
|
||||
for dev in [ # "Scienta.spectrum",
|
||||
"EnergyDistribution", "AngleDistribution", "Scienta.dataMatrix"]:
|
||||
if dev in SENSORS:
|
||||
#sample_scienta = True
|
||||
SENSORS=SENSORS+[SENSORS.pop(SENSORS.index(dev))]
|
||||
|
||||
Reference in New Issue
Block a user