-
Notifications
You must be signed in to change notification settings - Fork 321
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
Keithley 6500 parameters had invalid SCPI commands #1541
Keithley 6500 parameters had invalid SCPI commands #1541
Conversation
Codecov Report
@@ Coverage Diff @@
## master #1541 +/- ##
=======================================
Coverage 71.23% 71.23%
=======================================
Files 103 103
Lines 11994 11994
=======================================
Hits 8544 8544
Misses 3450 3450 |
It looks like the dmm supports compatibility mode with old dmms. I suspect the original driver was written to support this |
@jenshnielsen It is stated in the class docstring that this is based on the keithley 2000 (where the SCPI commands are valid) and that this is a bet-version. Don't know if there has been a 6500 in the past where the three parameters that I changed worked. My guess is not. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks OK (module Jens' comment). Left some minor suggestions.
@jenshnielsen Ok, I see you point. So, solutions: Flag in the constructor for compatibility mode set by the user? Second driver for the full feature support? Some auto detection for the mode the device is in? |
@qSaevar Yes I think we should test which mode it's in and error appropriately if it's in the wrong mode. I support using the default mode and not any compatibility mode |
@jenshnielsen ok, so I'll add something like: |
I did add a check for the correct command set. |
@astafan8 I addressed your comments, @jenshnielsen concerns and updated the branch. Is there anything else that needs to be done? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks good now module one comment. After it is fixed, i'll merge.
Merge: 6b8f4d1 6058273 Author: Mikhail Astafev <[email protected]> Merge pull request #1541 from qutech-sd/bug/DEM-707/Issues-with-KeithleyDMM6500-parameters
Changes proposed in this pull request:
In Keithley_6500 driver fix parameters:
@astafan8