-
Notifications
You must be signed in to change notification settings - Fork 79
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
Error opening a 5xxxD picoscope #198
Comments
is there a reason you can't use USB 3.0? |
Yes. I'm not the only one using the equipment. I'm the low-level guy making things for non-programmers && non-electronicians in the lab. I have to make sure things work no matter what, even if someone uses the wrong wire or another computer, so I handle the warnings for low datarates. And the picoscope is embedded in another device, no one is supposed to know what's inside the box. |
Problem :
I'm using a new picoscope, that turned out to be a 5xxxD. By reading the programmers' guide, it is supposed to behave the same way as the 5xxxxA, except for a few things, including this error :
That is thrown when trying to open the Picoscope.
Solution:
After some search, I found that
ps5000aOpenUnit
returns a value indicating if another instruction has to be used(ps5000aChangePowerSource)
. It was not implemented in the picoscope package. I've changed that for the ps5000a lib (I can't test on another picoscope, because I don't have any other) and it works fine. I'll do a pull request for that.The text was updated successfully, but these errors were encountered: