Closedown

This commit is contained in:
2016-07-04 14:33:21 +02:00
parent 82008ce200
commit 456de130c2

View File

@@ -5,6 +5,7 @@ start = caget(prefix + ":SET-SCAN-START")
stop = caget(prefix + ":SET-SCAN-STOP")
step = caget(prefix + ":SET-SCAN-STEP")
lat = caget(prefix + ":SET-SCAN-WAIT-TIME")
nb = caget(prefix + ":SET-NUM-AVERAGE")
bpm_ch = caget(prefix + ":BPM")
disp = caget(prefix + ":DISPERSION")
@@ -30,7 +31,7 @@ def after(rec):
pass
try:
r = lscan(rf_phase_var, [rf_ampl_rbk, bpm_x], start, stop, step , latency=lat, after_read = after)
r = lscan(rf_phase_var, [rf_ampl_rbk, bpm_x], start, stop, step , latency=lat, passes = nb, after_read = after)
rf_phase = r.getPositions(0)
energy = r.getReadable(1) * disp