Script execution

This commit is contained in:
kalt_r
2016-06-28 13:22:32 +02:00
parent d86c79e008
commit 5a4f9a1cb1
+4 -4
View File
@@ -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")