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

Added oceanfx support for pyseabreeze over ipv4 #260

Merged
merged 4 commits into from
Sep 5, 2024
Merged

Conversation

denis97
Copy link

@denis97 denis97 commented Aug 27, 2024

Now oceanfx is supported with pyseabreeze api when connected over ethernet.

Code example used to check basic functionality:

import seabreeze.pyseabreeze
from seabreeze.spectrometers import Spectrometer

sbapi=seabreeze.pyseabreeze.SeaBreezeAPI()
seabreeze.use('pyseabreeze')

sbapi.add_ipv4_device_location(device_type="FX", ip_address="127.0.0.1", port=1234)
dev=sbapi.list_devices()[0]
spec = Spectrometer(dev)

spectrum= spec.spectrum()

@ap--
Copy link
Owner

ap-- commented Sep 5, 2024

Thank you for your contribution ❤️

I fixed the mypy issue and will merge once tests pass

@ap-- ap-- merged commit e681d0e into ap--:main Sep 5, 2024
9 checks passed
@denis97
Copy link
Author

denis97 commented Sep 6, 2024

Thank you for providing this tool! 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants