[dataio/daq] fixing daq_buffer to int

This commit is contained in:
wendtalexander 2024-10-18 16:28:24 +02:00
parent e3c867f4fd
commit b94078634d

View File

@ -41,7 +41,7 @@ class DaqProducer:
)
# let the buffer for the daq device hold 5 seconds of data
daq_buffer_size = self.buffer.samplerate * 5
daq_buffer_size = int(self.buffer.samplerate * 5)
data_in = uldaq.create_float_buffer(channel_range.size, daq_buffer_size)
log.debug(f"Buffersize for daq {len(data_in)}")