change bscache args to new bstrd version
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user