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 QDevil QDAC 1 driver imported from Qcodes #196

Merged
merged 32 commits into from
Jan 18, 2023

Conversation

jenshnielsen
Copy link
Collaborator

@jenshnielsen jenshnielsen commented Jan 15, 2023

For reference the export was done with

git-filter-repo.cmd --path qcodes/instrument_drivers/QDevil/ --path-rename qcodes/instrument_drivers/:qcodes_contrib_drivers/drivers/ --tag-rename '':'qcodes-'

Which was then merged with a local remote into this repo

closes #194

@codecov-commenter
Copy link

codecov-commenter commented Jan 15, 2023

Codecov Report

Merging #196 (44c366f) into main (64a668e) will decrease coverage by 0.58%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main     #196      +/-   ##
==========================================
- Coverage   21.23%   20.64%   -0.59%     
==========================================
  Files         130      131       +1     
  Lines       16083    16540     +457     
==========================================
  Hits         3415     3415              
- Misses      12668    13125     +457     
Impacted Files Coverage Δ
...odes_contrib_drivers/drivers/QDevil/QDevil_QDAC.py 0.00% <0.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@jenshnielsen
Copy link
Collaborator Author

@jpsecher FYI

@jpsecher
Copy link
Contributor

Would it make sense to name it Qcodes_contrib_drivers/qcodes_contrib_drivers/drivers/QDevil/QDAC1.py to be in line with the other driver and to avoid confusion?

Anders Kühle and others added 25 commits January 16, 2023 17:24
Make new driver for the QDevil QDAC based on the existing QDac_channels driver,
originally made for the QDAC prototypes assembled at the Niels Bohr Institute
Driver for the QDevil QDAC. It is based on the “QDev\Qdac_channels.py” driver but is different in many ways as it leverages several of the latest developments from QDevil, and requires a QDAC from QDevil with at least firmware 1.07. The improvements include auto configuration, output calibration, and  synchronised multi-channel ramping.
… it is not executed during automatic tests

Removed unused imports from drivers
Replaced parameter .get_latest by .cache and ._save_val by .cache.set
Apply most changes suggested in review, and changed behavior to not touch the outputs at initialisation.
The QDAC state is instead read at initialisation leaving any on going ramping to continue, thus restoring
the internal generator book keeping.
A reset command is added to make it possible to reset all parameters to default values.
@jenshnielsen
Copy link
Collaborator Author

@jpsecher Done

@jenshnielsen jenshnielsen merged commit 1936a55 into QCoDeS:main Jan 18, 2023
@jenshnielsen jenshnielsen deleted the add_qdevil1 branch January 18, 2023 12:24
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.

Location of QDevil QDAC 1 driver
6 participants