Skip to content

Unable to connect to the HDX Spectrometer via USB from Linux (Windows works) #133

@stepandr47

Description

@stepandr47

spectrometer and system information

  • model: HDX Spectrometer
  • operating system: Ubuntu
  • python version: python3.7
  • python-seabreeze version: current
  • installed-via: pip3 install seabreeze

current problem

I am unable to connect to the HDX spectrometer. When I run list_devices() it displays:
image

This is the correct serial number for my device. I then have tried to connect to the device with from_serial_number(HDX01168) or from_first_available(). Both of these will give the below output on the first attempt:
image

Looking through the tickets I noticed that HDX support has been added, so I am unsure what I am doing incorrectly here.

steps to reproduce

Run below code with the HDX connected:

  1. import seabreeze
  2. seabreeze.use('pyseabreeze')
  3. from seabreeze.spectrometer import list_devices, Spectrometer
  4. list_devices()
  5. spectrometer = Spectrometer.from_first_available()

It seems like other users have gotten functionality working for an HDX spectrometer so I was wondering what I am doing incorrectly in the above implmentation.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions