Script execution
This commit is contained in:
@@ -63,15 +63,15 @@ rfrate = auxv_rfrate.read()
|
||||
latency = 1.5 * p2pcount / rfrate
|
||||
|
||||
# set start gate:
|
||||
auxv_gate_start.put(0.1)
|
||||
auxv_gate_start.write(0.1)
|
||||
|
||||
scan_result = lscan(cv_gate_stop, (mv_ref_jit_amplt,mv_ref_jit_phase,), 0.005, 8.005, 0.05 , latency=latency, title="Jitter Scan vs. avg gate length")
|
||||
|
||||
|
||||
#################################################################################
|
||||
# restore original gate
|
||||
cv_gate_stop.put(orig_avg_stop)
|
||||
auxv_gate_start.put(orig_avg_start)
|
||||
cv_gate_stop.write(orig_avg_stop)
|
||||
auxv_gate_start.write(orig_avg_start)
|
||||
|
||||
# close all PVs
|
||||
cv_gate_stop.close()
|
||||
|
||||
Reference in New Issue
Block a user