This commit is contained in:
root
2018-06-04 11:02:16 +02:00
parent 9bafa1e18d
commit 7da4e32097
15 changed files with 150 additions and 65 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import ch.psi.pshell.bs.Waveform as Waveform
#dispatcher.config.disableCompression = False
set_exec_pars(persist = False)
set_exec_pars(save = False)
#Arguments
SAMPLES = 5
+1 -1
View File
@@ -38,7 +38,7 @@ st.start()
st.waitCacheChange(10000) #Wait stream be running before starting scan
#Metadata
#set_exec_pars(persist = False)
#set_exec_pars(save = False)
try:
r=lscan(pos, sensors, RANGE[0], RANGE[1],STEP_SIZE, latency = SETTLING_TIME) #PC timestamp
r=bscan(st, 10) #BS Timestamp
+1 -1
View File
@@ -5,7 +5,7 @@ import ch.psi.pshell.epics.DiscretePositioner as DiscretePositioner
dispatcher.config.disableCompression = True
#set_exec_pars(persist = False)
#set_exec_pars(save = False)
#Arguments
SAMPLES = 2
+1 -1
View File
@@ -13,7 +13,7 @@ def create_device(url, parent=None):
devices = create_device(["ca://SINDI02-DBLM025:LOSS_SIGNAL_RAW?monitored=true&op=sum" ]) #SINDI02-DBLM025:LOSS_SIGNAL_RAW
try:
mscan([], devices , 10, -1, persist=False) #ar is ony updated on read
mscan([], devices , 10, -1, save=False) #ar is ony updated on read
#tscan( devices , 5, 0.1)
finally:
devices[0].parent.close()
+1 -1
View File
@@ -4,7 +4,7 @@ is_panel = get_exec_pars().source != CommandSource.ui #Must be checked before c
run("Devices/Elements")
run("Devices/WireScanner")
set_exec_pars(persist=False)
set_exec_pars(save=False)
BPM_SENSORS = [("x","X1"), ("y","Y1"), ("q","Q1")] #(logic name sufix, channel sufix)