change bscache args to new bstrd version

This commit is contained in:
2025-04-27 13:39:42 +02:00
parent 100be302e9
commit 26998e15dd
5 changed files with 7 additions and 7 deletions

View File

@ -20,7 +20,7 @@ names = ['PSSS', 'PMOS Maloja', 'PMOS Furka', 'PSSS LB', 'PSSS incl gasd', 'PSSS
class SpectralAnalysis:
def __init__(self):
self.bs = BSCache(100000,10000) # 100 second timeout, size for 100 second data taken
self.bs = BSCache(100000,receive_timeout=10000) # 100 second timeout, size for 10 second data taken
self.bs.stop()
self.channel = None
self.channels = [channel_dict[x] for x in names]
@ -64,8 +64,8 @@ class SpectralAnalysis:
class SpectralAnalysis2:
def __init__(self):
self.bs1 = BSCache(100000, 10000)
self.bs2 = BSCache(100000, 10000)
self.bs1 = BSCache(100000, receive_timeout=10000)
self.bs2 = BSCache(100000, receive_timeout=10000)
self.bs1.stop()
self.bs2.stop()
self.hasBStream=False