Script execution

This commit is contained in:
sfop
2017-08-23 14:46:27 +02:00
parent a2d261f837
commit c8fc4a52ee

View File

@@ -1,7 +1,7 @@
import ch.psi.pshell.epics.ChannelDouble as ChannelDouble
t = ChannelDouble("delay (us)", "SINEG01-DICT009-EVR0:Pul0-Delay-SP")
#t = ChannelDouble("fine delay (ns)", "SINEG01-DICT009-EVR0:UnivDlyModule0-Delay0-SP")
#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.initialize()
@@ -10,11 +10,16 @@ V.initialize()
t0 = t.read()
start = 1001.010
stop = 1001.080
step = 0.001
nb = 1
lat = 0.300
#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
try: