Script execution

This commit is contained in:
x03daop
2016-08-10 17:02:30 +02:00
parent ec730161e3
commit 0955c54d5a

View File

@@ -1,9 +1,9 @@
set_adc_averaging()
ENERGY_LOW = 137.0
ENERGY_HIGH = 371.0
SETTLING_TIME = 1.0
STEPS = 1000
ENERGY_HIGH = 370.6
SETTLING_TIME = 5.0
STEPS = 3
SENSORS = [Counts, MachineCurrent, SampleCurrent, RefCurrent, EnergyDistribution, Scienta.getDataMatrix()]
@@ -12,6 +12,7 @@ try:
ascan( [dummy,Scienta.getCenterEnergy()],
SENSORS,
[0.0, ENERGY_LOW],
latency = SETTLING_TIME,
[0.001 * STEPS, ENERGY_HIGH],
[STEPS, 1],
latency = SETTLING_TIME,