Script execution

This commit is contained in:
x03daop
2016-08-10 17:14:57 +02:00
parent 0955c54d5a
commit 04d0c10288
+4 -5
View File
@@ -2,8 +2,8 @@ set_adc_averaging()
ENERGY_LOW = 137.0
ENERGY_HIGH = 370.6
SETTLING_TIME = 5.0
STEPS = 3
SETTLING_TIME = 0.0
STEPS = 1000
SENSORS = [Counts, MachineCurrent, SampleCurrent, RefCurrent, EnergyDistribution, Scienta.getDataMatrix()]
@@ -11,9 +11,8 @@ setup_plotting(line_plots = (Counts, MachineCurrent, SampleCurrent, RefCurrent,)
try:
ascan( [dummy,Scienta.getCenterEnergy()],
SENSORS,
[0.0, ENERGY_LOW],
latency = SETTLING_TIME,
[0.001 * STEPS, ENERGY_HIGH],
[0.0, ENERGY_HIGH],
[0.001 * STEPS, ENERGY_LOW],
[STEPS, 1],
latency = SETTLING_TIME,
before_read = before_readout, after_read = after_readout)