Script execution

This commit is contained in:
sfop
2017-08-23 15:01:25 +02:00
parent 8b73cc7999
commit 6bf5f438de
+17 -13
View File
@@ -3,25 +3,29 @@ import ch.psi.pshell.epics.ChannelDouble as ChannelDouble
run("CPython/wrapper")
#t = ChannelDouble("delay (us)", "SINEG01-DICT009-EVR0:Pul0-Delay-SP")
t = ChannelDouble("fine delay (ns)", "SINEG01-DICT009-EVR0:UnivDlyModule0-Delay0-SP")
q = ChannelDouble("charge (pC)", "SINEG01-DICT215:B1_CHARGE")
V = ChannelDouble("DC output (V)", "SINEG01-DICT215:B1_VOLTAGE")
#t = ChannelDouble("fine delay (ns)", "SINEG01-DICT009-EVR0:UnivDlyModule0-Delay0-SP")
#q = ChannelDouble("charge (pC)", "SINEG01-DICT215:B1_CHARGE")
#V = ChannelDouble("DC output (V)", "SINEG01-DICT215:B1_VOLTAGE")
t = ChannelDouble("delay (us)", "S10DI01-DICT113-EVR0:Pul0-Delay-SP")
#t = ChannelDouble("fine delay (ns)", "S10DI01-DICT113-EVR0:UnivDlyModule0-Delay0-SP")
q = ChannelDouble("charge (pC)", "S10DI01-DICT025:B1_CHARGE")
V = ChannelDouble("DC output (V)", "S10DI01-DICT025:B1_VOLTAGE")
t.initialize()
q.initialize()
V.initialize()
t0 = t.read()
#start = 1001.010
#stop = 1001.080
#step = 0.001
#nb = 1
#lat = 0.300
start = 0.0
stop = 12.7
step = 0.1
nb = 5
lat = 0.150
start = 1001.340
stop = 1001.400
step = 0.001
nb = 1
lat = 0.300
#start = 2.2
#stop = 12.7
#step = 0.1
#nb = 5
#lat = 0.150
try: