[ui] changing samplerate
This commit is contained in:
parent
b7d92259a9
commit
0b36e31135
@ -78,8 +78,9 @@ class PyRelacs(QMainWindow):
|
|||||||
widget.setLayout(layout)
|
widget.setLayout(layout)
|
||||||
self.setCentralWidget(widget)
|
self.setCentralWidget(widget)
|
||||||
|
|
||||||
SAMPLERATE = 10000
|
SAMPLERATE = 1000
|
||||||
self.buffer = CircBuffer(size=1_000_000, samplerate=SAMPLERATE)
|
BUFFERSIZE = 1_000
|
||||||
|
self.buffer = CircBuffer(size=BUFFERSIZE, samplerate=SAMPLERATE)
|
||||||
# self.connect_dac()
|
# self.connect_dac()
|
||||||
|
|
||||||
# self.daq_producer = DaqProducer(self.buffer, self.daq_device, [1, 1])
|
# self.daq_producer = DaqProducer(self.buffer, self.daq_device, [1, 1])
|
||||||
@ -210,7 +211,7 @@ class PyRelacs(QMainWindow):
|
|||||||
sinus_pro.signals.progress.connect(self.progress_fn)
|
sinus_pro.signals.progress.connect(self.progress_fn)
|
||||||
self.threadpool.start(sinus_pro)
|
self.threadpool.start(sinus_pro)
|
||||||
|
|
||||||
time.sleep(0.05)
|
# time.sleep(0.05)
|
||||||
self.continously_plot.plot_daq()
|
self.continously_plot.plot_daq()
|
||||||
|
|
||||||
def stop_recording(self):
|
def stop_recording(self):
|
||||||
|
Loading…
Reference in New Issue
Block a user