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

Add adjust_parameter_validator function to IVVI instrument #529

Conversation

CJvanDiepen
Copy link
Contributor

The dac's of the IVVI have a finite resolution. If the validator range min and max values are not values the dac's can actually have, then it can occur that a set command results in the dac's going to a value just outside the validator range. Adjusting the validators with this function prevents that.

Fixes #301.

Changes proposed in this pull request:

  • Add adjust_parameter_validator function to IVVI instrument.

@giulioungaretti @peendebak

… resolution of dac's into account for validator range.
@giulioungaretti
Copy link
Contributor

@peendebak @eendebakpt updates on this ? From my side it can be merged.

@peendebak
Copy link
Contributor

@CJvanDiepen @Unga The PR looks good and is fully backwards compatible.:dancer:

@giulioungaretti giulioungaretti merged commit 9f7e920 into microsoft:master May 5, 2017
giulioungaretti pushed a commit that referenced this pull request May 5, 2017
Author: CJvanDiepen <CJvanDiepen@users.noreply.github.com>

    driver: Add adjust_parameter_validator function to IVVI  (#529)
@peendebak peendebak deleted the feat/adjust_IVVI_validator_range branch October 19, 2017 13:22
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.

None yet

3 participants