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 / driver / mercury ips / firmware 2.6 #1385

Conversation

WilliamHPNielsen
Copy link
Contributor

@WilliamHPNielsen WilliamHPNielsen commented Nov 16, 2018

The SCPI (like) API for the Mercury iPS changed between firmware versions 2.5 and 2.6

Changes proposed in this pull request:

  • Accommodate that change in a way that works for both firmware versions
  • Add a function to assert whether the magnet is ramping
  • Extend the notebook to emphasize that non-cartesian sweeps are generally not possible

@QCoDeS/core

@codecov
Copy link

codecov bot commented Nov 16, 2018

Codecov Report

Merging #1385 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1385   +/-   ##
=======================================
  Coverage   73.38%   73.38%           
=======================================
  Files          79       79           
  Lines        9282     9282           
=======================================
  Hits         6812     6812           
  Misses       2470     2470

@jenshnielsen
Copy link
Collaborator

jenshnielsen commented Nov 19, 2018

Codacy found a single trailing whitespace. Once that it fixed I think this is ready to go. Edit: I did this from the web interface

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.

Yes! (apart from typos)

qcodes/instrument_drivers/oxford/MercuryiPS_VISA.py Outdated Show resolved Hide resolved
Returns True if any axis has a ramp status that is either 'TO SET' or
'TO ZERO'
"""
ramping_statuus = ['TO SET', 'TO ZERO']
Copy link
Contributor

Choose a reason for hiding this comment

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

statuuuuuuuuuus :)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It's plural in Latin, you uncultured peasant.

Copy link
Contributor

Choose a reason for hiding this comment

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

sorry that you have to work with such ignorant people ;)

Copy link
Contributor

Choose a reason for hiding this comment

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

you should defintley use some utf-8 here: ramping_statūs ;-)

jenshnielsen and others added 2 commits November 19, 2018 11:06
Co-Authored-By: WilliamHPNielsen <whpn@mailbox.org>
Co-Authored-By: WilliamHPNielsen <whpn@mailbox.org>
@jenshnielsen jenshnielsen merged commit bb07fa0 into microsoft:master Nov 19, 2018
giulioungaretti pushed a commit that referenced this pull request Nov 19, 2018
Merge: a8baf7a 950cfce
Author: Jens Hedegaard Nielsen <jenshnielsen@gmail.com>

    Merge pull request #1385 from WilliamHPNielsen/fix/driver/MercuryiPS/firmware_2.6
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

4 participants