29 lines
838 B
Python
29 lines
838 B
Python
CAMERA = "SARES20-CAMS142-M3"
|
|
CAMERA = "SARFE10-PSSS059"
|
|
CAMERA = "SATBD02-DSCR050"
|
|
CAMERA = "SATES31-CAMS187-RIXS1"
|
|
CAMERA = "SAROP21-PPRM138"
|
|
CAMERA = "SARES20-PROF142-M1"
|
|
#CAMERA = "SARES20-CAMS142-M5"
|
|
CAMERA = "SLAAR02-LPMO01-C321"
|
|
CAMERA = "SLAAR02-LPMO02-C322"
|
|
CAMERA = "SLAAR21-LCAM-CS841"
|
|
CAMERA = "SLAAR21-LCAM-CS842"
|
|
CAMERA = "SARES20-CAMS142-C2"
|
|
|
|
CAMERA_URL = caget(CAMERA + ":BSREADCONFIG").replace("tcp://daq", "tcp://")
|
|
#CAMERA_URL= "tcp://sf-sioc-cs-83:9020"
|
|
#CAMERA_URL= "tcp://sf-sioc-cs-64:9000"
|
|
CAMERA_URL = "tcp://sf-daqsync-02:31852"
|
|
print CAMERA_URL
|
|
st1 = Stream("st1", CAMERA_URL, SocketType.PULL)
|
|
st1.initialize()
|
|
st1.start()
|
|
st1.waitCacheChange(3000)
|
|
try:
|
|
#r=bscan (st1, records=5, timeout=10.0, save=False, enabled_plots=[st1,])
|
|
#v= st1.getValues()
|
|
show_panel(st1)
|
|
finally:
|
|
st1.close()
|