From 5a4f9a1cb158af463d4927309e8f84674e537eed Mon Sep 17 00:00:00 2001 From: kalt_r Date: Tue, 28 Jun 2016 13:22:32 +0200 Subject: [PATCH] Script execution --- script/jitter_scan.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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")