[dataio/daq] fixing daq_buffer to int
This commit is contained in:
parent
e3c867f4fd
commit
b94078634d
@ -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)}")
|
||||
|
Loading…
Reference in New Issue
Block a user