ap--/python-seabreeze

Integration time max not correct (pyseabreeze, USB4000 / FLAME-T)

fohrloop opened this issue · 1 comments

spectrometer and system information

  • model: FLAME-T (recognized as USB4000). Host Interface: FLAME-T 4.00.4, FPGA: 4.05.6.
  • operating system: Win10 64bit
  • python version: 3.7.7 32-bit
  • python-seabreeze version: 1.1.0
  • installed-via: pip

USB4000 / FLAME-T Manual values:

image

Problem description

  • In the pyseabreeze (1.1.0) code, the value is
#pyseabreeze/devices.py
# Under class USB4000:
    integration_time_max = 655350000

Since the timeout values, for example in the _get_spectrum_raw() the USB4000 / FLAME-T is using depend on the integration time value, it leads to unnecessary long timeout values (always wait at least 655 seconds before timeout error).

ap-- commented

👍 Will push a fix it in the next release 😃