Skip to content

fix: Keithley_2400 READ? format may be inconsistent#1876

Merged
jenshnielsen merged 5 commits intomicrosoft:masterfrom
lychee512:driver/hotfix-keithley-2400-wrong-msg-format
Jan 2, 2020
Merged

fix: Keithley_2400 READ? format may be inconsistent#1876
jenshnielsen merged 5 commits intomicrosoft:masterfrom
lychee512:driver/hotfix-keithley-2400-wrong-msg-format

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