This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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()
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user