qcodes_contrib_drivers.drivers.Keysight package

Subpackages

Submodules

qcodes_contrib_drivers.drivers.Keysight.Keysight_E36313A module

class qcodes_contrib_drivers.drivers.Keysight.Keysight_E36313A.E36313A(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

This is the qcodes driver for the Keysight E36313A programmable DC power supply

get_idn()[source]

Parse a standard VISA *IDN? response into an ID dict.

Even though this is the VISA standard, it applies to various other types as well, such as IPInstruments, so it is included here in the Instrument base class.

Override this if your instrument does not support *IDN? or returns a nonstandard IDN string. This string is supposed to be a comma-separated list of vendor, model, serial, and firmware, but semicolon and colon are also common separators so we accept them here as well.

Returns:

A dict containing vendor, model, serial, and firmware.

class qcodes_contrib_drivers.drivers.Keysight.Keysight_E36313A.E36313AChannel(parent: Instrument, name: str, chan: int)[source]

Bases: InstrumentChannel

__init__(parent: Instrument, name: str, chan: int) None[source]
Parameters:
  • parent – The instrument to which the channel is

  • attached.

  • name – The name of the channel

  • chan – The number of the channel in question (1-3)

qcodes_contrib_drivers.drivers.Keysight.Keysight_E8267D module

class qcodes_contrib_drivers.drivers.Keysight.Keysight_E8267D.Keysight_E8267D(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

This is the qcodes driver for the Keysight_E8267D signal generator

Status: beta-version.

TODO: - Add all parameters that are in the manual

This driver will most likely work for multiple Agilent sources.

This driver does not contain all commands available for the E8527D but only the ones most commonly used.

static deg_to_rad(angle_deg)[source]
off()[source]
on()[source]
static rad_to_deg(angle_rad)[source]
qcodes_contrib_drivers.drivers.Keysight.Keysight_E8267D.parse_on_off(stat)[source]

qcodes_contrib_drivers.drivers.Keysight.Keysight_J7211 module

class qcodes_contrib_drivers.drivers.Keysight.Keysight_J7211.Keysight_J7211(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

Qcodes driver for the Keysight J7211 Attenuation Control Unit. Tested with J7211B.

Parameters:
  • name – Instrument name

  • address – Address or VISA alias of instrument

  • attenuation – Optional attenuation level (in dB) to set on startup

  • terminator – Termination character in VISA communication.

qcodes_contrib_drivers.drivers.Keysight.Keysight_M3201A module

class qcodes_contrib_drivers.drivers.Keysight.Keysight_M3201A.Keysight_M3201A(*args: Any, **kwargs: Any)[source]

Bases: SD_AWG

This is the qcodes driver for the Keysight M3201A AWG PXIe card

Parameters:
  • name (str) – name for this instrument, passed to the base instrument

  • chassis (int) – chassis number where the device is located

  • slot (int) – slot number where the device is plugged in

qcodes_contrib_drivers.drivers.Keysight.Keysight_M3300A module

class qcodes_contrib_drivers.drivers.Keysight.Keysight_M3300A.M3300A_AWG(*args: Any, **kwargs: Any)[source]

Bases: SD_AWG

Driver for the AWG of the Keysight M3300A card.

Parameters:
  • name (str) – name for this instrument, passed to the base instrument

  • chassis (int) – chassis number where the device is located

  • slot (int) – slot number where the device is plugged in

Example

AWG = AWG(‘M3300A’)

class qcodes_contrib_drivers.drivers.Keysight.Keysight_M3300A.M3300A_DIG(*args: Any, **kwargs: Any)[source]

Bases: SD_DIG

Driver for the digitizer of the keysight M3300A card.

Parameters:
  • name (str) – name for this instrument, passed to the base instrument

  • chassis (int) – chassis number where the device is located

  • slot (int) – slot number where the device is plugged in

Example

DIG = DIG(‘M3300A’)

qcodes_contrib_drivers.drivers.Keysight.M3202A module

class qcodes_contrib_drivers.drivers.Keysight.M3202A.M3202A(*args: Any, **kwargs: Any)[source]

Bases: SD_AWG_Async

qcodes driver for the Keysight M3202A AWG PXIe card.

M3202A channel numbers start with 1.

This driver is derived from SD_AWG_Async which uses a thread per module to upload waveforms concurrently. The sychronous methods like load_waveform are not available in this class.

Example

awg1 = M3202A(‘awg1’, 0, 2) ref_1 = awg1.upload_waveform(wave1)

trigger_mode = keysightSD1.SD_TriggerModes.EXTTRIG awg1.awg_queue_waveform(1, ref_1, trigger_mode, 0, 1, 0)

If you want to test M3202A based on the synchronous SD_AWG, then you can instantiate SD_AWG directly. .. rubric:: Example

m3202a_sync = SD_AWG(name, chassis, slot, channels=4, triggers=8,

legacy_channel_numbering=False)

Parameters:
  • name – name for this instrument, passed to the base instrument

  • chassis – chassis number where the device is located

  • slot – slot number where the device is plugged in

Module contents