-
Notifications
You must be signed in to change notification settings - Fork 301
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/Keysight Infiniium oscilloscope (as e.g. MSOS104A) #766
driver/Keysight Infiniium oscilloscope (as e.g. MSOS104A) #766
Conversation
# | ||
self.shape = (npts,) | ||
self.set_sweep(start, stop, npts) | ||
#TODO: fix above set when any of the above things change |
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.
due to limitations in the dataset this cannot be set in the get command as the setpoints have already been written to fil
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.
Thank you, this is a good hint!
params_to_skip_update=params_to_skip_update) | ||
|
||
|
||
class MSOS104A(VisaInstrument): |
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.
I think it should have a more generic name the only difference that i can tell is the max frequency
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.
Regarding the notebook: This should explain how to get a QCoDeS dataset back, i.e. rather than just calling get
on the trace parameter, there should be a Measure
or even a Loop
.
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.
Regarding the driver code: a bit of PEP8'ing would be good and please add type hints because we are so cool and futuristic that we use them.
Nice notebook! |
|
||
def snapshot_base(self, update: bool=False) -> Dict: | ||
params_to_skip_update = ['trace'] | ||
super().snapshot_base(update=update, |
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.
This is missing a return statement
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.
Thanks! I fixed this.
|
||
# compatitbility/setup | ||
# change of names with acquire_ prefix | ||
# add acquire_interpolate(1) to the setup |
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.
Should these lines still be her?
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.
nope...
This has now been done
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.
👍
Author: Dominik Vogel <30660470+Dominik-Vogel@users.noreply.github.com> driver/Keysight Infiniium oscilloscope (as e.g. MSOS104A) (#766)
This is the driver for the Keysight Infiniium oscilloscopes. It has been developed for the MSOS104A. So far it features all the basic commands, including:
To get started please refer to the jupyter tutorial for this driver, supplied along with this PR.
fixes #701
The driver development has been simultaneously started by Steven Waddy. In the first commit I merged the two drivers.