#!/usr/bin/env python # coding: utf-8 # # QCoDeS Example with Rohde Schwarz SGS100A RF source # In[ ]: from qcodes.instrument_drivers.rohde_schwarz import RohdeSchwarzSGS100A # In[2]: sgsa = RohdeSchwarzSGS100A("SGSA100", "TCPIP0::10.0.100.124::inst0::INSTR") # In[3]: sgsa.print_readable_snapshot(update=True) # In[4]: # set a power and a frequency sgsa.frequency(10e9) sgsa.power(-5) # In[5]: # start RF output sgsa.status(True) # In[6]: # stop RF outout sgsa.status(False)