Connecting to R&S ZNB20 by Rohdes&Schwarz in Python
Instrument Card
The R&S ZNB20 from R&S is a mid range vector network analyzer with two or four test ports for the frequency range from 100 kHz to 20 GHz. It has a dynamic range of 135 dB which makes it possible to perform precise measurements on wideband DUTs or components whose behavior at low frequencies is especially important. The analyzer has a large 12.1 inches touch screen interface which makes it easy to control and review test results. The ports on the R&S 20 have 2.92 mm Male connectors.
Device Specification: here
Manufacturer card: ROHDES&SCHWARZ
Rohde & Schwarz GmbH & Co KG is an international electronics group specializing in the fields of electronic test equipment, broadcast & media, cybersecurity, radiomonitoring and radiolocation, and radiocommunication.
- Headquarters: Munich, Germany
- Yearly Revenue (millions, USD): 2500
- Vendor Website: here
Connect to the R&S ZNB20 in Python
Read our guide for turning Python scripts into Flojoy nodes.
PROTOCOLS > SCPI
To connect to a R&S ZNB20 Network Analyzer using Qcodes, you can use the following code:
In the code above, we import the ZNB
class from the qcodes.instrument_drivers.rohde_schwarz.ZNB.ZNB
module. Then, we create an instance of the ZNB
class with the desired name (znb
) and the appropriate VISA resource string (TCPIP0::192.168.1.1::inst0::INSTR
) for your specific instrument.
Finally, we call the connect()
method to establish a connection to the instrument.
Note: Make sure to replace 'TCPIP0::192.168.1.1::inst0::INSTR'
with the correct VISA resource string for your specific instrument.