Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for SR6 / HR6 #224

Closed
tberezowski opened this issue Nov 27, 2023 · 5 comments · Fixed by #230
Closed

Support for SR6 / HR6 #224

tberezowski opened this issue Nov 27, 2023 · 5 comments · Fixed by #230

Comments

@tberezowski
Copy link

spectrometer and system information

  • model: SR6, HR6

current problem

I noticed that SR2 and SR4 support were recently added. I would like to add support for SR6 and HR6 myself. Unfortunately, I cannot find a datasheet. These models are also not listed in the original SeaBreeze. Does anyone have these datasheets or any information that would help me to add support for these devices?

@ap--
Copy link
Owner

ap-- commented Nov 28, 2023

Hi @tberezowski

Thank you for offering to contribute ❤️

Sadly there seem to be no developer datasheets publicly available anymore for the newer spectrometer models. But, if the SR6/HR6 use the same protocol as the ST, SR2, and SR4 it's possible that adding basic support is not too hard.

I recommend reading this issue: #185
And having a look at these PRs:

If you create a packet capture file .pcapng you can use this script: https://github.com/ap--/python-seabreeze/blob/main/dev/pretty_print_obp_pcapng.py to pretty print some of the USB communication for debugging.

Let me know if you need further information,
Andreas 😃

@knaugh
Copy link
Contributor

knaugh commented Jan 3, 2024

I am also trying to get SR6 support working. I was able to add two classes and udev rule as described in #220 which allowed me to read the spectrometer. However I just copied the SR4 classes and changed their names, and didn't change any of the device parameters.
I do not have an OceanView license unfortunately, is there another way I can pull the info you need?

@tberezowski
Copy link
Author

@knaugh what I remember OceanView had some kind of a demo mode, but I am not sure if it is available in the recent version. Currently I havent start to work on this issue because my university is still in the process of buying the spectrometers... I should have them within one to two months and then I will post some update.

@knaugh
Copy link
Contributor

knaugh commented Jan 5, 2024

The demo version does not support the new spectrometers unfortunately, the demo is capped at 2.0.8 and the SR models need 2.0.12 as far as I can tell. I was able to get basic support working though, see PR #230

@ap-- ap-- mentioned this issue Jan 24, 2024
@ap--
Copy link
Owner

ap-- commented Jan 26, 2024

SR6 support available in v2.6.0

Thanks again everyone ❤️

@ap-- ap-- closed this as completed Jan 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants