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
Ocean Optics Jaz Spectrometers provide multi-channel support for spectrometry. However, the seabreeze module defaults to a single channel with the normally supplied functions.
Andreas supplied example code for changing the channel using the f.raw_usb_bus.access functionality, but there is a timeout (well it just hangs, actually) issue when querying the devices for the number of modules/channels installed on the Jaz devices.
Good News: If you know your number of installed channels you can work around this and just directly send commands to set the channel.
Bad News: If you send the wrong command the device needs to be reset.
Weird News: If you work around the issue you must reset the channel you are polling from because the Jaz device Serial changes to each submodules.
If you pass either device string from the list devices, the query will hang on spec.f.raw_usb_access.raw_usb_read(endpoint='primary_in')
work-around
To work around this issue, I have some code for selecting the device channel as per Andreas' e-mail, as well as a function to keep the USB device ID consistent by resetting the channel.
spectrometer and system information
current problem
Ocean Optics Jaz Spectrometers provide multi-channel support for spectrometry. However, the seabreeze module defaults to a single channel with the normally supplied functions.
Andreas supplied example code for changing the channel using the f.raw_usb_bus.access functionality, but there is a timeout (well it just hangs, actually) issue when querying the devices for the number of modules/channels installed on the Jaz devices.
Good News: If you know your number of installed channels you can work around this and just directly send commands to set the channel.
Bad News: If you send the wrong command the device needs to be reset.
Weird News: If you work around the issue you must reset the channel you are polling from because the Jaz device Serial changes to each submodules.
steps to reproduce
If you pass either device string from the list devices, the query will hang on spec.f.raw_usb_access.raw_usb_read(endpoint='primary_in')
work-around
To work around this issue, I have some code for selecting the device channel as per Andreas' e-mail, as well as a function to keep the USB device ID consistent by resetting the channel.
Apologies if this is not super clear, this is my first issue/bug report/sharing of my own work-around.
The text was updated successfully, but these errors were encountered: