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

fix: Keithley_2400 READ? format may be inconsistent #1876

Conversation

lychee512
Copy link
Contributor

Fixes 'bugginess' mentioned in #488

Changes proposed in this pull request:

  • Added code to ensure Keithley 2400 instrument sends responses to READ? in correct format in the driver init method.
  • Modify 'output' parameter to use create_on_off_val_mapping instead of int.

Breaking changes: 'output' parameter type change could possibly break existing code that depends on 'output' being an int.

@WilliamHPNielsen

Added code to ensure Keithley 2400 instrument sends responses to READ? in correct format in the driver __init__ method.
Modify 'output' parameter to use create_on_off_val_mapping instead of int.

Breaking changes: 'output' parameter type change could possibly break existing code that depends on 'output' being an int.
@codecov
Copy link

codecov bot commented Dec 12, 2019

Codecov Report

Merging #1876 into master will decrease coverage by <.01%.
The diff coverage is 50%.

@@            Coverage Diff             @@
##           master    #1876      +/-   ##
==========================================
- Coverage   70.37%   70.37%   -0.01%     
==========================================
  Files         152      152              
  Lines       18875    18877       +2     
==========================================
+ Hits        13283    13284       +1     
- Misses       5592     5593       +1

@jenshnielsen jenshnielsen merged commit 7315158 into microsoft:master Jan 2, 2020
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.

3 participants