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

Driver/QDac #533

Merged
merged 5 commits into from
Mar 22, 2017
Merged

Conversation

WilliamHPNielsen
Copy link
Contributor

Fixes wrong function generator assignment

@giulioungaretti

Make it possible to not query the currents on startup. Also, do NOT set the voltage range during init, since this could cause voltages to jump.
Make channels be always bound to a unique function generator.
slope = [sl[1] for sl in self._slopes if sl[0]==chan][0]
fg = self._slopes.index([chan, slope]) + 1
slope = [sl[1] for sl in self._slopes if sl[0] == chan][0]
# fg = self._slopes.index([chan, slope]) + 1
Copy link
Contributor

Choose a reason for hiding this comment

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

remove comment or comment comment <3

@WilliamHPNielsen WilliamHPNielsen merged commit c5ff2d0 into microsoft:master Mar 22, 2017
giulioungaretti pushed a commit that referenced this pull request Mar 22, 2017
Merge: 628fe73 4f4353b
Author: William H.P. Nielsen <whpn@mailbox.org>

    Merge pull request #533 from WilliamHPNielsen/driver/QDac
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.

3 participants