diff --git a/script/jitter_scan.py b/script/jitter_scan.py index 1d64bdf..e1f8baf 100644 --- a/script/jitter_scan.py +++ b/script/jitter_scan.py @@ -1,7 +1,7 @@ -import ch.psi.pshell.epics.Channel as Channel +import ch.psi.pshell.epics.ChannelDouble as PV latency = 0.3 @@ -21,9 +21,8 @@ print "Stop = ", stop print "Step = ", step # controlled variabales -cv_rf_phase = Channel(SECTION + "-RLLE-DSP:PHASE-REFERENCE",'d') -print cv_rf_phase.is_connected -cv_rf_phase.close() +cv_rf_phase = PV(SECTION + "-RLLE-DSP:PHASE-REFERENCE",'d') +print cv_rf_phase.readAsync() #cv_rf_amplt = ChannelDouble(SECTION + "-RLLE-DSP:AMPLT-REFERENCE")