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

Tektronix AWG 5014 : Fix range/validators of Channel offset, low pass filter, Marker high level and low level #1626

Merged
merged 4 commits into from
Jul 17, 2019

Conversation

lakhotiaharshit
Copy link
Contributor

@lakhotiaharshit lakhotiaharshit commented Jul 11, 2019

Instrument: AWG5014

Fixed ranges

  1. Channel offset from: -0.1 - 0.1 to -2.25 to 2.25
  2. Channel low pass filter: removed validator 9.9e37
  3. Marker high level: -2.7 - 2.7 to -0.9 - 2.7
  4. Marker low level: -2.7 - 2.7 to -1.0 -2.6
    All the values were checked using a physical instrument.

@codecov
Copy link

codecov bot commented Jul 11, 2019

Codecov Report

Merging #1626 into master will decrease coverage by 3.99%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #1626     +/-   ##
=========================================
- Coverage   70.55%   66.55%     -4%     
=========================================
  Files         123      140     +17     
  Lines       14921    17389   +2468     
=========================================
+ Hits        10527    11573   +1046     
- Misses       4394     5816   +1422

Copy link
Contributor

@astafan8 astafan8 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@WilliamHPNielsen WilliamHPNielsen changed the title AWG5014: use full range for channel offset parameter Tektronix AWG 5014 : use full range for channel offset parameter Jul 12, 2019
Copy link
Contributor

@WilliamHPNielsen WilliamHPNielsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suggest that we seize the opportunity to double check all the validators against the manual.

Edit: I don't think the manual actually lists the valid ranges. Then the validators should be checked against a real instrument. There is a very high probability that more parameters have incorrect validators.

Harshit Lakhotia (Blue Lynx Employment BV) and others added 2 commits July 17, 2019 14:31
 Remove additional git syntax on the python file added automatically by git due to conflicting changes made.
@lakhotiaharshit lakhotiaharshit changed the title Tektronix AWG 5014 : use full range for channel offset parameter Tektronix AWG 5014 : check all validators Jul 17, 2019
@lakhotiaharshit lakhotiaharshit changed the title Tektronix AWG 5014 : check all validators Tektronix AWG 5014 : Fix range/validators of Channel offset, low pass filter, Marker high level and low level Jul 17, 2019
@lakhotiaharshit
Copy link
Contributor Author

@WilliamHPNielsen As we discussed. I validated the range of the parameters using a physical instrument. You were indeed right as I found 3 more incorrect validators.

Copy link
Contributor

@WilliamHPNielsen WilliamHPNielsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks for going the extra mile and finding the other two incorrect validators (and the wrong Enum).

@astafan8 astafan8 merged commit e7b46a0 into microsoft:master Jul 17, 2019
giulioungaretti pushed a commit that referenced this pull request Jul 17, 2019
Author: lakhotiaharshit <[email protected]>

    Tektronix AWG 5014 : Fix range/validators of Channel offset, low pass filter, Marker high level and low level   (#1626)
@lakhotiaharshit lakhotiaharshit deleted the fix/awg5014/offset-range branch August 20, 2019 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants