-
Notifications
You must be signed in to change notification settings - Fork 4
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
Enhancement: Device Driver Rhode Schwarz ZNBx #31
Comments
Hi, Thank you for your request! Indeed more instrument drivers in QMI are always welcome. This could be handled in a couple of ways:
From a quick look on the manual, QMI can communicate with the ZNB devices with VXI-11 protocol ( with start_stop(
qmi, "awg5014_test"
), open_close(
qmi.make_instrument(
"awg5014", Tektronix_Awg5014, "vxi11:123.45.67.89"
) # Note that AWG load/send commands have issues with encoding in TCP protocol -> use GPIB or VXI11
) as awg:
# Start with clearing the buffer
awg.wait_and_clear()
# getting idn
idn = awg.get_idn()
print("The vendor of the device is %s" % idn.vendor)
print("The model of the device is %s" % idn.model)
print("The serial of the device is %s" % idn.serial)
print("The version of the device is %s" % idn.version) qmi.start("rs_smbv100a_test")
# usb transport string
usb_transport_str = "usbtmc:vendorid=0x0AAD:productid=0x005f:serialnr=258300"
try:
# make instrument
instr: RohdeSchwarz_SMBV100A = qmi.make_instrument("smbv100a", RohdeSchwarz_SMBV100A, usb_transport_str)
instr.open()
# getting idn
idn = instr.get_idn()
print("The vendor of the device is %s" % idn.vendor)
print("The model of the device is %s" % idn.model)
print("The serial of the device is %s" % idn.serial)
print("The version of the device is %s" % idn.version)
instr.close()
finally:
qmi.stop() Vendor and Product ID, and serial nr, should be present in the documentation, or can be found on the instrument itself. |
Is your feature request related to a problem? Please describe.
I am wondering if you are planning or working on introducing device drivers for Rhode Schwarz instruments like Oscilloscope [1] / VNAs [2] etc.
Describe the solution you'd like
Device driver for ZNB4,6,8,20.
Describe alternatives you've considered
I guess using Qcodes is an alternative.
[1] https://www.rohde-schwarz.com/us/products/test-and-measurement/oscilloscopes_63663.html
[2] https://www.rohde-schwarz.com/us/products/test-and-measurement/network-analyzers/rs-znb-vector-network-analyzer_63493-11648.html
The text was updated successfully, but these errors were encountered: