-
Notifications
You must be signed in to change notification settings - Fork 17
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
Instance of 'Keithley2600Factory' has no 'smua' member #20
Comments
@GitQer, could give some more information? The exact code which caused the error and the full traceback. Otherwise it’s very difficult to help. |
code: Traceback (most recent call last): |
Ah, ok. So the issue is that you are not actually connected to the Keithley. The error message says:
Once you are connected, attributes like |
Since your connection is via GPIB, it looks like you will have to install from keithley2600 import Keithley2600
k = Keithley2600('GPIB0::26::INSTR')
k.connect() The last call will return |
I connect to the keithley2634B and check it in NI-MAX, and I have installed the gpib-ctypes, but it seems not work.
|
It appears that Alternatively, you could try to completely switch backends and use the NI-VISA backend directly, as described in the README. |
As suggested by Sam in an earlier query, the following works in my windows7 install... k = Keithley2600('GPIB0::26::INSTR', visa_library='C:\windows\system32\visa64.dll') but, k.reset (same as *RST) may not be able to correctly reset the instrument to default state under certain conditions (e.g., when comms have been interrupted, such after a program sweep that failed), thus appearing as if the instrument commands are not available. In this case, functionality can be easily restored with a reset via the NI VISA Test panel (ensuring that the STB? query returns status byte 0)... |
Hello, I try to use this package but an error happened that Instance of 'Keithley2600Factory' has no 'smua' member
The text was updated successfully, but these errors were encountered: