-
Notifications
You must be signed in to change notification settings - Fork 319
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/Rhode Schwartz rs rto1000 series oscilloscope #679
driver/Rhode Schwartz rs rto1000 series oscilloscope #679
Conversation
Major update to the VNA driver
Added functions to the VNA driver
Added the sweep_time parameter
Thanks for the contribution. I don't have a lot of time time right now but here are a few small things that I noticed.
|
Great suggestions, noted. Will be implemented shortly.
…On Fri, Jul 21, 2017 at 2:24 PM, Jens Hedegaard Nielsen < ***@***.***> wrote:
Thanks for the contribution. I don't have a lot of time time right now but
here are a few small things that I noticed.
- To be able to measure a waveform using the qcodes the waveform
should be implemented as an ArrayParameter. I suggest looking at the
TPS2012 scope driver. https://github.com/QCoDeS/
Qcodes/blob/master/qcodes/instrument_drivers/tektronix/TPS2012.py
<https://github.com/QCoDeS/Qcodes/blob/master/qcodes/instrument_drivers/tektronix/TPS2012.py>
- If you plan to extend to more than one channel you may want to use
the Channels class to organise channel specific parameters, The TPS2012
driver has an example of this too
- This includes changes to other r and s drivers which should probably
be omitted or done in another pull request.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#679 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ALqDnp0mRdRMgtJP3TuQDOgvdavkBbPCks5sQJhrgaJpZM4OfJyP>
.
--
Malay Singh
Founder *Bandhana*.INC
|
Hi @MalaySingh! It looks like development of this driver slowed down. I'll be happy to help you get it back on track. I can push some changes to your branch. Let me know if it's still relevant. |
Yes the progress on the driver slowed down, I will get back to it soon. Please feel free to push the changes, that will be helpful. |
That's not a bad idea. Even better is to write specific drivers for each instrument in the series, each of them subclassing the "mother" RTO1000 driver. The specific driver can be as short as a call to |
Hi @MalaySingh! |
The driver has following short comings.
The scope available in the lab is busy, and I will not get time to play with it (and test the latest version of the driver) before the next two weeks. So by reading the driver, it seems ready to be merged as a beta version. |
@MalaySingh Great, I think issue 1 is most likely caused by the OPC? command timing out. You can probably solve this by setting the visa timeout before calling OPC? Here is an example https://github.com/QCoDeS/Qcodes/blob/master/qcodes/instrument_drivers/Keysight/Keysight_34465A.py#L60 of that from another instrument |
Okay, I just got my hands on an RTO1044 unit. I am officially taking over this boat! ⛵️ |
@YakBizzarro, can you point me to an overview of the differences between different RTO1000 series oscilloscopes, then I'll try to make a driver for all of them. |
I think basically 3rd digit is Bandwidth in GHz and 4th digit is number of channels as in
https://www.rohde-schwarz.com/us/product/rto1000-productstartpage_63493-191808.html |
Thank you! |
I think this is good to go now. It is the responsibility of the user to ensure that the scope is ready to deliver when being queried for the trace data. I think it makes sense to do it this way, i.e. split out the actual delivery of data from any potentially long averaging process. @MalaySingh, once you get time to test this, please let me know what you think. |
|
||
self.channel._parent.dataformat(dataformat) | ||
# ensure little-endianess | ||
self.channel._parent.write('FORMat:BORder LSBFirst') |
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.
Would we gain any speed from merging these writes into one? and is it even possible
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.
Yes, we probably would. But there is an underlying assumption that this speed-up is small compared to the time scale of everything else. It would only happen once BEFORE a loop, for instance, and thus never really be a true bottleneck.
Looks good to me |
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.
Jens said "LGTM", so it must be good.
Author: Malay Singh <[email protected]> driver/Rhode Schwartz rs rto1000 series oscilloscope (#679)
Following are the features:
Acquisition rate, averages.
Following are the features which will be included in further versions:
More instructions could be added.
Tested features:
This is still ongoing, but we could profit a lot from any review by now