This page was generated from docs/examples/driver_examples/Qcodes example with Rohde Schwarz SGS100A.ipynb. Interactive online version: Binder badge.

QCoDeS Example with Rohde Schwarz SGS100A RF source

[ ]:
import qcodes as qc

from qcodes.instrument_drivers.rohde_schwarz.SGS100A import RohdeSchwarz_SGS100A
[2]:
sgsa = RohdeSchwarz_SGS100A("SGSA100", "TCPIP0::10.0.100.124::inst0::INSTR")
Connected to: Rohde&Schwarz SGS100A (serial:1416.0505k02/103074, firmware:3.1.19.7-3.20.140.60.1) in 0.06s
[3]:
sgsa.print_readable_snapshot(update=True)
SGSA100:
        parameter            value
--------------------------------------------------------------------------------
IDN                   : {'vendor': 'Rohde&Schwarz', 'model': 'SGS100A', 'seri...
IQ_angle              : 0
IQ_gain_imbalance     : 0
IQ_impairments        : False
IQ_state              : False
I_offset              : 0
LO_source             : INT
Q_offset              : 0
frequency             : 1e+10 (Hz)
phase                 : 0 (deg)
power                 : -20 (dBm)
pulsemod_source       : INT
pulsemod_state        : False
ref_LO_out            : OFF
ref_osc_external_freq : 10MHZ
ref_osc_output_freq   : 10MHZ
ref_osc_source        : INT
status                : False
timeout               : 5 (s)
[4]:
# set a power and a frequency
sgsa.frequency(10e9)
sgsa.power(-5)
[5]:
# start RF output
sgsa.status(True)
[6]:
# stop RF outout
sgsa.status(False)