diff --git a/script/jitter_scan.py b/script/jitter_scan.py index 434a869..a8ab5d2 100644 --- a/script/jitter_scan.py +++ b/script/jitter_scan.py @@ -1,8 +1,7 @@ -import ch.psi.pshell.epics.ChannelDouble as PV -import ch.psi.pshell.device.ProcessVariable as PV2 +import ch.psi.pshell.epics.ProcessVariable as PV latency = 0.3 @@ -23,8 +22,9 @@ print "Step = ", step # controlled variabales cv_rf_phase = PV2(SECTION + "-RLLE-DSP:PHASE-REFERENCE") -a = cv_rf_phase.read() -print "a= " , a +cv_rf_phase.initialize() +val = cv_rf_phase.read() +print "val= " , val #cv_rf_amplt = ChannelDouble(SECTION + "-RLLE-DSP:AMPLT-REFERENCE")