This commit is contained in:
gac-maloja
2025-09-04 11:25:35 +02:00
parent f0c28c4f0c
commit 63ff53cd47
9 changed files with 249 additions and 40 deletions
+29
View File
@@ -0,0 +1,29 @@
import ch.psi.pshell.bs.Provider as Provider
CAMS154 = "tcp://daqsf-sioc-cs-c1a:9010"
PATT= "tcp://daqsf-sioc-cs-c3:9010"
CAMS161= "tcp://daqsf-sioc-cs-c1b:9020"
url=CAMS154
#url= "tcp://SIN-CVME-DBPM0421:9000"
p=Provider("provider", url, True)
p.config.keepListeningOnStop = True
p.config.parallelHandlerProcessing = False
p.config.byteBufferAllocator = True
st1 = Stream("st1", p)
st1.initialize()
st1.start()
st1.waitCacheChange(20000)
#try:
# bscan (st1, 5, 5, save=False)
#finally:
# st1.close()
try:
print st1.getValues()
finally:
st1.close()