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

Keithley 6430: Add appropriate lower limit for voltage compliance #297

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

mgunyho
Copy link
Contributor

@mgunyho mgunyho commented Feb 23, 2024

Hi!

We noticed a bug in this SMU driver: writing an SCPI command to set a voltage compliance value that is below the minimum accepted by the device (0.2 mV) will cause the value to be silently ignored, and the previous compliance level will stay. Without this modification, it is possible to set the compliance to 0.1 mV in QCoDeS but accidentally pass 20 V, since that is the default voltage compliance when the device is booted. This PR fixes this behavior.

Writing an SCPI command to set a voltage compliance value that is below
the minimum accepted by the device (0.2 mV) will cause the value to be
silently ignored, and the previous compliance level will stay. Without
this modification, it is possible to set the compliance to 0.1 mV but
accidentally pass 20 V, since that is the default voltage compliance
when the device is booted.
Copy link

codecov bot commented Feb 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 11.49%. Comparing base (537fb8e) to head (d088362).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #297   +/-   ##
=======================================
  Coverage   11.49%   11.49%           
=======================================
  Files         123      123           
  Lines       16745    16745           
=======================================
  Hits         1925     1925           
  Misses      14820    14820           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jenshnielsen
Copy link
Collaborator

Thanks @mgunyho

@jenshnielsen jenshnielsen added this pull request to the merge queue Feb 23, 2024
Merged via the queue into QCoDeS:main with commit e9eee53 Feb 23, 2024
12 checks passed
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.

2 participants