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

Alazar Driver: Add api instance as initialization parameter #1524

Merged
merged 17 commits into from
May 15, 2019

Conversation

Dominik-Vogel
Copy link
Contributor

With this small change I will be able to create a mock of the alazar driver that does not require an alazar card in order to instantiate and also potentially benchmark the alazar and alazar controllers, by simply providing an instance of an api object that wraps all the dll calls without actually calling into the dll.

@Dominik-Vogel Dominik-Vogel changed the title Alazar Driver: Add api instance as initialization parameter [WIP] Alazar Driver: Add api instance as initialization parameter Mar 20, 2019
@codecov
Copy link

codecov bot commented Mar 20, 2019

Codecov Report

Merging #1524 into master will not change coverage.
The diff coverage is 66.66%.

@@           Coverage Diff           @@
##           master    #1524   +/-   ##
=======================================
  Coverage   71.54%   71.54%           
=======================================
  Files         105      105           
  Lines       12139    12139           
=======================================
  Hits         8685     8685           
  Misses       3454     3454

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.

Great!

One issue - diff consists of the full file, probably because the EOL chars changed.

qcodes/instrument_drivers/AlazarTech/ATS.py Outdated Show resolved Hide resolved
qcodes/instrument_drivers/AlazarTech/ATS.py Outdated Show resolved Hide resolved
Dominik-Vogel and others added 2 commits March 21, 2019 11:47
Co-Authored-By: Dominik-Vogel <30660470+Dominik-Vogel@users.noreply.github.com>
qcodes/instrument_drivers/AlazarTech/ATS.py Outdated Show resolved Hide resolved
Co-Authored-By: Mikhail Astafev <astafan8@gmail.com>
@Dominik-Vogel Dominik-Vogel changed the title [WIP] Alazar Driver: Add api instance as initialization parameter Alazar Driver: Add api instance as initialization parameter May 15, 2019
@jenshnielsen jenshnielsen merged commit f38ff8b into microsoft:master May 15, 2019
giulioungaretti pushed a commit that referenced this pull request May 15, 2019
Merge: 9018b81 2143d46
Author: Jens Hedegaard Nielsen <Jens.Nielsen@microsoft.com>

    Merge pull request #1524 from Dominik-Vogel/driver_ats_api_input
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.

None yet

3 participants