-
Notifications
You must be signed in to change notification settings - Fork 315
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
Awg enhancements #538
Awg enhancements #538
Conversation
Adds clock_source and ref_source parameters Also added a change to the get parser of the lowpass filter setting. The value 9.9e37 corresponds to infinity but can give problems when sending it over a port (such as to pyqtgraph).
I've noticed that all Keithley/Tektronik instruments signal an out-of-range value with 9.9e37, maybe would be nice to have it has a general converter for all these instruments. value = float(string) |
@YakBizzarro , Good point. I made the parser a bit more robust by using the change you proposed. |
I'll try it out this next week, looks good to me though. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Splendid. This makes a lot of sense. 💃
Merge: e11da32 2cded75 Author: William H.P. Nielsen <[email protected]> Merge pull request #538 from DiCarloLab-Delft/AWG_enhancements
Merge: e11da32 2cded75 Author: William H.P. Nielsen <[email protected]> Merge pull request #538 from DiCarloLab-Delft/AWG_enhancements
Fixes #537
Changes proposed in this pull request:
clock_source
andref_source
parameters , removed refA motivation for the first change is in #537
A motivation for the second change is that INF is more readable (which is nice), it is the same value under the hood, and the value 9.9e37 caused me trouble when sending it to the monitor. I suspect it will prevent more trouble in the future. Additionally, the manual of the AWG says that this INF setting corresponds to open so the 9.9e37 is really a placeholder value on the 5014 side.
@giulioungaretti @WilliamHPNielsen