qcodes_contrib_drivers.drivers.Rigol package

Submodules

qcodes_contrib_drivers.drivers.Rigol.Rigol_DP932 module

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DP932.RigolDP932E(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

QCoDeS driver for the Rigol DP932E Programmable DC Power Supply.

disable_output(channel: int)[source]

Disables the output for the specified channel.

enable_output(channel: int)[source]

Enables the output for the specified channel.

measure_current(channel: int) float[source]

Measures the current at the output terminal of the specified channel.

measure_power(channel: int) float[source]

Measures the power at the output terminal of the specified channel.

measure_voltage(channel: int) float[source]

Measures the voltage at the output terminal of the specified channel.

reset()[source]

Resets the instrument to its default settings.

set_current(channel: int, current: float)[source]

Sets the output current for the specified channel.

set_output_state(channel: int, state: str)[source]

Sets the output state (ON/OFF) for the specified channel.

set_voltage(channel: int, voltage: float)[source]

Sets the output voltage for the specified channel.

qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800 module

Driver for Rigol DSA800 series spectrum analyzers.

Programming reference: https://m.testlink.co.kr/download/rigol/DSA800_ProgrammingGuide_EN.pdf

I have tested this driver on a DSA815-TG, but it should be compatible with other DSA800 models as well.

See docs/examples/ for example notebooks.

Written by Edward Laird (http://wp.lancs.ac.uk/laird-group/).

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800.RigolDSA800(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

QCoDeS driver for Rigol DSA800 series spectrum analyzers.

abort() None[source]

Abort the current operation.

acquire_trace(trace_index: int = 1, timeout: float | None = None) ndarray[tuple[Any, ...], dtype[float64]][source]

Run a single sweep and return the requested trace.

Parameters:
  • trace_index – Trace number to read back.

  • timeout – Optional timeout in seconds for the sweep.

Returns:

The acquired trace data.

autorange() None[source]

Adjust amplitude-related parameters within the current span.

autoscale() None[source]

Adjust reference level and scale for an easy-to-read display.

autotune() None[source]

Search the full frequency range and optimize the display.

clear_all_markers() None[source]

Disable all active markers.

hold() None[source]

Disable continuous sweeping.

reset() None[source]

Reset the analyzer to its default state.

restart_trace_average() None[source]

Restart the averaging accumulation for averaged traces.

run_continuous() None[source]

Enable continuous sweeping.

single_sweep(timeout: float | None = None) None[source]

Run a single sweep and wait for completion.

Parameters:

timeout – Optional timeout in seconds for the sweep.

trigger_sweep(timeout: float | None = None) None[source]

Initiate a sweep without changing the current sweep mode.

Parameters:

timeout – Optional timeout in seconds for the sweep.

wait_for_operation_complete(timeout: float | None = None) None[source]

Block until the current operation is complete.

Parameters:

timeout – Optional timeout in seconds for the wait.

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800.RigolDSA800Marker(parent: RigolDSA800, name: str, marker_index: int)[source]

Bases: InstrumentChannel

Marker control and readout for a single analyzer marker.

Move the marker to the minimum-amplitude point.

next_peak() None[source]

Move the marker to the next peak.

peak_left() None[source]

Move the marker to the nearest peak on the left.

peak_right() None[source]

Move the marker to the nearest peak on the right.

Move the marker to the strongest peak.

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800.RigolDSA800Trace(*args: Any, trace_index: int, **kwargs: Any)[source]

Bases: ParameterWithSetpoints

Trace parameter with analyzer axis setpoints.

get_raw() ndarray[tuple[Any, ...], dtype[float64]][source]

get_raw is called to perform the actual data acquisition from the instrument. This method should either be overwritten to perform the desired operation or alternatively for Parameter a suitable method is automatically generated if get_cmd is supplied to the parameter constructor. The method is automatically wrapped to provide a get method on the parameter instance.

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800.RigolDSA800TraceChannel(parent: RigolDSA800, name: str, trace_index: int)[source]

Bases: InstrumentChannel

Trace configuration and readout for a single displayed trace.

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSA800.RigolDSA800TrackingGenerator(parent: RigolDSA800, name: str)[source]

Bases: InstrumentChannel

Tracking-generator control for TG-equipped DSA800 analyzers.

disable() None[source]

Disable the tracking-generator output.

enable() None[source]

Enable the tracking-generator output.

store_reference_trace() None[source]

Store the normalization reference trace.

qcodes_contrib_drivers.drivers.Rigol.Rigol_DSG3136B module

Driver for Rigol DSG3136B microwave signal generator

Written by Edward Laird (http://wp.lancs.ac.uk/laird-group/) based on another Rigol driver by Matthew Green.

A documentation notebook is in the docs/examples/ directory.

class qcodes_contrib_drivers.drivers.Rigol.Rigol_DSG3136B.RigolDSG3136B(*args: Any, **kwargs: Any)[source]

Bases: VisaInstrument

QCoDeS driver for the Rigol DSG3136B signal generator.

__init__(name, address, **kwargs)[source]
Parameters:
  • name (str) – The name of the instrument used internally by QCoDes. Must be unique.

  • address (str) – The VISA resource name.

sweep_execute() None[source]

Executes a sweep

sweep_reset() None[source]

Resets a sweep to the beginning of its range.

trigger() None[source]

Generates a trigger event. This is equivalent to pressing the Force Trigger button on front panel.

Module contents