qcodes_contrib_drivers.drivers.Minicircuits package

Submodules

qcodes_contrib_drivers.drivers.Minicircuits.ZTM module

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.AmplifierModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The AmplifierModule class represents an amplifier module. It provides the functionality to get and set the state of the amplifier.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.DualMTSModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The DualMTSModule class represents a dual multi-throw switch (MTS) module. It provides the functionality to get and set the state of both MTS switches.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.DualSPDTModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The DualSPDTModule class represents a dual single-pole double-throw (SPDT) switch module. It provides the functionality to get and set the state of both SPDT switches.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.MTSModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The MTSModule class represents a multi-throw switch (MTS) module. It provides the functionality to get and set the state of the MTS switch.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.MiniCircuitsModularSystem(*args: Any, **kwargs: Any)[source]

Bases: IPInstrument

The MiniCircuitsModularSystem class represents a MiniCircuits modular system connected via ethernet. It provides the functionality to initialize the modules based on the configuration received from the instrument.

Parameters:
  • name – the name of the instrument

  • address – ip address ie “10.0.0.1”

  • port – port to connect to default Telnet:23

Example

# Import the required module from qcodes.instrument_drivers.MiniCircuitsModularSystem import MiniCircuitsModularSystem

# Initialize the MiniCircuitsModularSystem mini_circuits = MiniCircuitsModularSystem(‘MiniCircuits’, ‘10.0.0.1’, 23)

# Access the SP6T module sp6t_module = mini_circuits.module_1 # assuming the SP6T module is the first module

# Set the state of the SP6T module sp6t_module.state(3) # set the state to 3

# Get the state of the SP6T module print(sp6t_module.state()) # prints the current state of the SP6T module

# Access the DualMTSModule dual_mts_module = mini_circuits.module_2 # assuming the DualMTSModule is the second module

# Set the state of the DualMTSModule dual_mts_module.state_A(1) # set the state of switch A to 1 dual_mts_module.state_B(2) # set the state of switch B to 2

# Get the state of the DualMTSModule print(dual_mts_module.state_A()) # prints the current state of switch A print(dual_mts_module.state_B()) # prints the current state of switch B

# Access the AmplifierModule amplifier_module = mini_circuits.module_3 # assuming the AmplifierModule is the third module

# Set the state of the AmplifierModule amplifier_module.state(1) # turn on the amplifier

# Get the state of the AmplifierModule print(amplifier_module.state()) # prints the current state of the amplifier

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.MiniCircuitsModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: InstrumentChannel

The MiniCircuitsModule class is a parent class for all the MiniCircuits modules. It provides the basic functionality for the modules.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.SP4TModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The SP4TModule class represents a single-pole four-throw (SP4T) switch module. It provides the functionality to get and set the state of the SP4T switch.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.SP6TModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The SP6TModule class represents a single-pole six-throw (SP6T) switch module. It provides the functionality to get and set the state of the SP6T switch.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.SP8TModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The SP8TModule class represents a single-pole eight-throw (SP8T) switch module. It provides the functionality to get and set the state of the SP8T switch.

class qcodes_contrib_drivers.drivers.Minicircuits.ZTM.SPDTModule(parent: IPInstrument, name: str, module_address: int)[source]

Bases: MiniCircuitsModule

The SPDTModule class represents a single-pole double-throw (SPDT) switch module. It provides the functionality to get and set the state of the SPDT switch.

Module contents