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

Awkward passing of serial device on linux #3

Closed
bavovanachte opened this issue Jun 11, 2021 · 4 comments
Closed

Awkward passing of serial device on linux #3

bavovanachte opened this issue Jun 11, 2021 · 4 comments

Comments

@bavovanachte
Copy link

Hi!

Thanks for this initiative. I'm trying to use this library to communicate with a SCPI-enabled device over a serial link, running in linux.

The serial device that it's connected to is /dev/ttyACM0 and the underlying port that should be passed on to pyvisa should be ASRL/dev/ttyACM0::INSTR.

To make this work, I need to initialize the instrument using

inst = scpi.Instrument("COM/dev/ttyACM0"), which is a bit awkward under linux as the "COM" terminology isn't used there.

bicarlsen added a commit that referenced this issue Jun 11, 2021
@bicarlsen
Copy link
Owner

Unfortunately I don't have a Linux machine to test this with.
Can you please pull the new code and test it out before I push it to PyPI?

@bicarlsen
Copy link
Owner

bicarlsen commented Jun 23, 2021

Hey @bavovanachte ,

I wanted to see if you were able to test the new package. If so, please let me know the results.

If I don't hear from you in a few days I will close this issue.

@bavovanachte
Copy link
Author

Apologies for the delay. I've switched to just using PyVisa for now, but plan to try your library again at some point. I'll reopen or open another issue if it doesn't work

@bicarlsen
Copy link
Owner

This should be resolved in version 0.1.1.

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

No branches or pull requests

2 participants