-
-
Notifications
You must be signed in to change notification settings - Fork 82
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 HDX device? #60
Comments
hi @kubaraczkowski, You need to look for a datasheet that contains the full usb command set. I couldnt find one just now. report back if you find one. Then I can give you more advice and tell you if it's complicated to get it running. Best, |
ok, deal.
we're considering to buy the hdx vs an older model, one thing to take into
account is availability of low lever drivers ...
kuba
…On Fri, Jul 20, 2018, 00:05 Andreas Poehlmann ***@***.***> wrote:
hi @kubaraczkowski <https://github.com/kubaraczkowski>,
You need to look for a datasheet that contains the full usb command set. I
couldnt find one just now.
The fact that the product Ids are "so close" does not tell you anything.
The protocol could be completely different.
report back if you find one. Then I can give you more advice and tell you
if it's complicated to get it running.
Best,
Andreas
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/ap--/python-seabreeze/issues/60#issuecomment-406428851>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAh2nNWaTWw-BxjxaVzwkUXOqgBdxmwOks5uIQKdgaJpZM4VKrVn>
.
|
Are there any news about the support of the HDX spectrometers? The seabreeze package works like a charm for the QE-Pro. Thanks for the great work! |
@jochen-scheuer |
I hope this helps develop support: Please let us know if/when you plan to add full support for the HDX! |
@toddkarin Let me know if I can help somehow, or if something's unclear. Best, |
Great, I just need basic functionality so I can try that. By the way, I'm planning to buy one soon and would be happy to run a test script if you feel like adding full support. (It seems to be a popular request!) |
Nice 👍 A test script is included via pytest and running the spectrometer tests is explained here: https://python-seabreeze.readthedocs.io/en/latest/contributing.html#testing-spectrometer-models |
It would help if you made some more comments on that page for explaining what the parameters are, e.g.
etc. Thanks! |
I currently don't have good access to my development computer, so updating the docs will have to wait a bit. I believe most of your questions should be answered after thoroughly reading the datasheet :) Best, |
Thanks for the update. I'm having trouble. I added the following to devices.py:
Then I added the following to spectrometer.py
and tried to import using:
The returned output is:
Any suggestions? |
Hmm, have you updated the udev rules and included the HDX? It's easiest if you fork the repository, push your changes and make a pull request. -Andreas |
@toddkarin Did you ever get it working? I used your code together with udev-rule and made connection few times. Most of the time I'm running into timeout issues.. dunno if it is related to running code inside VM and passing USB-connection there. I'm running the code you have above with the following results:
I added Any ideas? |
HDX spectrometers should now be supported with pyseabreeze thanks to @Lavikjo 👍 |
Great, has this been added to pip yet? |
yes. it's already on pypi and conda-forge. |
Dear @ap-- , I connected an OCEAN-HDX-XR spectrometer to my PC (Windows 10), and used your new released version of seabreeze (Many thanks to you and Lavikjo). However, it still reported errors. My code is very simple as follows:
I am running the code with the following results:
I don't use the libusb or pyusb here. Do you think that the error could be caused by this? Thank you very much. |
Hello @CL1002 yes, the hdx should only be supported via the pyseabreeze backend, which requires you to install pyusb. You can then request the specific backend via: import seabreeze
seabreeze.use('pyseabreeze')
from seabreeze.spectrometers import Spectrometer
... Let me know if you need further help. Cheers, P.S.: next time feel free to open a new issue or use the discussion board |
has anyone gotten the HDX to work? import seabreeze leads to a timeout error
USBTimeoutError: [Errno 110] Operation timed out |
Hi @tobiasium If you're running Linux or OSX you might have the same issue that's currently investigated in #133 |
Hi,
Any idea if the new OO HDX can be supported?
The PID is 2003.
It looks like it has the same 'interface electronics' as the FlameX, the PID is "so close" (2003 vs 2001 of FX), they are both provided in "offline" installation folder of omnidriver, the clues are all pointing to being compatible at least.
Thanks for making pyseabreeze! It's great!
The text was updated successfully, but these errors were encountered: