You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error message FIFO mode: coercing length to nearest ... kept showing up in my case, evenso I chose the proper acquisition_length_in_samples and pre_trigger_length_in_samples. I think the problem came from the _coerce_num_samples_if_fifo, so I modified it as follow:
def _coerce_num_samples_if_fifo(self, value: int) -> int:
if self.acquisition_mode == AcquisitionMode.SPC_REC_FIFO_MULTI:
if mod(value, get_memsize_step_size(self._model_number)) != 0:
logger.warning(
f"FIFO mode: coercing length to nearest {get_memsize_step_size(self._model_number)}" f" samples"
)
value = int(value - mod(value, get_memsize_step_size(self._model_number)))
return value
The text was updated successfully, but these errors were encountered:
The error message FIFO mode: coercing length to nearest ... kept showing up in my case, evenso I chose the proper acquisition_length_in_samples and pre_trigger_length_in_samples. I think the problem came from the _coerce_num_samples_if_fifo, so I modified it as follow:
The text was updated successfully, but these errors were encountered: