from qolab.hardware.scpi import SCPIinstr class RFGenerator: # Minimal set of methods to be implemented. pass class RFGeneratorSCPI(SCPIinstr, RFGenerator): """ Do not instantiate directly, use rm = pyvisa.ResourceManager() ScopeSCPI(rm.open_resource('TCPIP::192.168.0.2::INSTR')) """ pass def __init__(self, resource): SCPIinstr.__init__(self, resource) RFGenerator.__init__(self) from .agilent_e8257d import AgilentE8257D