Debug Dispersion measurement and added first support for XTCAV stabilizer
This commit is contained in:
@ -40,13 +40,14 @@ class AdaptiveOrbit:
|
||||
def initBSStream(self,channels):
|
||||
print("Initializing BSstream")
|
||||
bs = BSCache(100000,10000) # 1 second time out, capazity for 100 second.
|
||||
bs.stop()
|
||||
for cnl in channels[1:]:
|
||||
if not is_available(cnl):
|
||||
raise ValueError(f"BS-Channel {cbl} is not available")
|
||||
res = make_channel_config(cnl,None,None)
|
||||
bs.channels[res]=res
|
||||
bs.get_var(channels[0]) # this starts also the stream into the cache
|
||||
# bs.stop()
|
||||
# for cnl in channels[1:]:
|
||||
# if not is_available(cnl):
|
||||
# raise ValueError(f"BS-Channel {cbl} is not available")
|
||||
# res = make_channel_config(cnl,None,None)
|
||||
# bs.channels[res]=res
|
||||
# bs.get_var(channels[0]) # this starts also the stream into the cache
|
||||
bs.get_vars(channels)
|
||||
return bs
|
||||
|
||||
def initPV(self,chx):
|
||||
|
Reference in New Issue
Block a user