ieee488_2

class ieee488_2.transport.file_transport(out_file_name: str, in_file_name: str = '')

Input/output from/to file to support driver testing

class ieee488_2.transport.ip_transport(host: str, port: int = 5025, timeout=10.0, snd_buf_size: int = 524288)

IP socket transport

class ieee488_2.transport.pulsar_dummy_transport(cfg_format)

Dummy transport

class ieee488_2.transport.transport

Abstract base class for data transport to instruments

pulsar_qcm

QCoDeS driver

class pulsar_qcm.pulsar_qcm.pulsar_qcm(name, host, port=5025, debug=0)
_abc_impl = <_abc_data object>
class pulsar_qcm.pulsar_qcm.pulsar_qcm_dummy(name, debug=1)
_abc_impl = <_abc_data object>
class pulsar_qcm.pulsar_qcm.pulsar_qcm_qcodes(name, transport_inst, debug=0)

The Pulsar QCM QCoDeS interface.

_abc_impl = <_abc_data object>
static _gen_get_func_par(func, *args)

Generate get function with fixed parameters

static _gen_set_func_par(func, *args)

Generate set function with fixed parameters

_get_sequencer_config_val(sequencer, param)

Get sequencer configuration helper

_set_sequencer_config_val(sequencer, param, val)

Set sequencer configuration helper

_set_sequencer_waveforms_and_program(sequencer, file_name)

Set sequencer waveforms and program

Native interface

class pulsar_qcm.pulsar_qcm_ifc.pulsar_qcm_ifc(transport_inst, debug=0)
_add_awg_waveform(sequencer, name, waveform, index=None)

Add AWG waveform to sequencer.

_add_waveforms(sequencer, waveform_dict)

Add all waveforms in dictionary to sequencer.

_delete_awg_waveform(sequencer, name)

Delete AWG waveform from sequencer.

_delete_waveforms(sequencer)

Delete all waveforms from sequencer.

_get_awg_waveform_data(sequencer, name, start=0, size=2147483648)

Get AWG waveform data from sequencer.

_get_awg_waveform_index(sequencer, name)

Get AWG waveform index from sequencer.

_get_awg_waveform_length(sequencer, name)

Get AWG waveform length from sequencer.

_get_awg_waveform_name(sequencer, index)

Get AWG waveform name form sequencer.

_get_awg_waveform_names(sequencer)

Return all AWG waveforms names

_get_num_awg_waveforms(sequencer)

Get number of AWG waveforms in sequencer.

_get_scpi_commands()

Get SCPI commands.

static _get_sequencer_cfg_format()

Get sequencer configuration format

_get_sequencer_config(sequencer)

Get sequencer configuration.

_set_awg_waveform_data(sequencer, name, waveform)

Set AWG waveform data in sequencer

_set_awg_waveform_index(sequencer, name, index)

Set AWG waveform index in sequencer.

_set_sequencer_config(sequencer, cfg_dict)

Set sequencer configuration.

_set_sequencer_program(sequencer, program)

Program sequencer.

arm_sequencer(sequencer=None)

Arm sequencer.

get_idn()

Get device identity and build information.

get_sequencer_state(sequencer)

Get sequencer state.

get_system_status()

Get general system status.

get_waveforms(sequencer)

Return all waveforms in a dictionary

start_sequencer(sequencer=None)

Start sequencer.

stop_sequencer(sequencer=None)

Stop sequencer.

SCPI interface

class pulsar_qcm.pulsar_qcm_scpi_ifc.pulsar_qcm_scpi_ifc(transport_inst, debug=0)
_add_awg_waveform(sequencer, awg, name, size, is_integer)

Add waveform to sequencer AWG path.

_arm_sequencer(sequencer)

Arm sequencer.

_check_error_queue(err=None)

Check SCPI error queue

_check_in_type(in_arg_dict, in_type_list)

Check input types

_delete_awg_waveform(sequencer, awg, name)

Delete waveform from sequencer AWG path.

_get_awg_num_waveforms(sequencer, awg)

Get number of waveforms in sequencer AWG path.

_get_awg_waveform_data(sequencer, awg, name, start, size)

Get waveform data from sequencer AWG path.

_get_awg_waveform_index(sequencer, awg, name)

Get waveform index from sequencer AWG path.

_get_awg_waveform_length(sequencer, awg, name)

Get waveform length from sequencer AWG path.

_get_awg_waveform_name(sequencer, awg, index)

Get waveform name from sequencer AWG path based on index.

_get_awg_waveforms(sequencer, awg)

Get all waveform names from sequencer AWG path.

_get_idn()

Get device identity and build information.

_get_reference_source()

Get reference source.

_get_scpi_commands()

Get SCPI commands.

_get_sequencer_config(sequencer)

Get sequencer configuration.

_get_sequencer_state(sequencer)

Get sequencer state.

_get_system_status()

Get general system status.

_set_awg_waveform_data(sequencer, awg, name, waveform)

Set waveform data in sequencer AWG path.

_set_awg_waveform_index(sequencer, awg, name, index)

Set waveform index in sequencer AWG path.

_set_reference_source(internal)

Set reference source.

_set_sequencer_config(sequencer, config)

Set sequencer configuration.

_set_sequencer_program(sequencer, program)

Program sequencer.

_start_sequencer(sequencer)

Start sequencer.

_stop_sequencer(sequencer)

Stop sequencer.

clear()

Clear all status registers.

get_assembler_log()

Get assembler log.

get_assembler_status()

Get assembler status.

get_current_afe_temperature()

Get analog frontend temperature.

get_current_carrier_temperature()

Get current carrier temperature.

get_current_fpga_temperature()

Get current FPGA temperature.

get_maximum_afe_temperature()

Get analog frontend temperature.

get_maximum_carrier_temperature()

Get maximum carrier temperature.

get_maximum_fpga_temperature()

Get maximum FPGA temperature.

get_num_system_error()

Get number of system errors.

get_operation_complete()

Get operation complete status.

get_operation_condition()

Get operation condition.

get_operation_enable()

Get operation enable.

get_operation_events()

Get operation events.

get_questionable_condition()

Get questionable condition.

get_questionable_enable()

Get questionable enable.

get_questionable_event()

Get questionable events.

get_service_request_enable()

Get service request enable.

get_standard_event_status()

Get standard event status.

get_standard_event_status_enable()

Get standard event status enable.

get_status_byte()

Get status byte.

get_system_error()

Get system error from queue.

get_system_version()

Get system version.

preset_system_status()

Preset system status registers.

reset()

Reset device.

set_operation_complete()

Set operation complete command.

set_operation_enable(reg)

Get operation enable.

set_questionable_enable(reg)

Set questionable enable.

set_service_request_enable(reg)

Set service request enable.

set_standard_event_status_enable(reg)

Set standard event status enable.

test()

Run self-test.

wait()

Wait-to-continue.

pulsar_qrm

QCoDeS driver

class pulsar_qrm.pulsar_qrm.pulsar_qrm(name, host, port=5025, debug=0)
_abc_impl = <_abc_data object>
class pulsar_qrm.pulsar_qrm.pulsar_qrm_dummy(name, debug=1)
_abc_impl = <_abc_data object>
class pulsar_qrm.pulsar_qrm.pulsar_qrm_qcodes(name, transport_inst, debug=0)

The Pulsar QRM QCoDeS interface.

_abc_impl = <_abc_data object>
static _gen_get_func_par(func, *args)

Generate get function with fixed parameters

static _gen_set_func_par(func, *args)

Generate set function with fixed parameters

_get_sequencer_config_val(sequencer, param)

Get sequencer configuration helper

_set_sequencer_config_val(sequencer, param, val)

Set sequencer configuration helper

_set_sequencer_waveforms_and_program(sequencer, file_name)

Set sequencer waveforms and program

Native interface

class pulsar_qrm.pulsar_qrm_ifc.pulsar_qrm_ifc(transport_inst, debug=0)
_add_acq_acquisition(sequencer, path, name, size)

Add acquisition to sequencer acquisition list.

_add_acq_waveform(sequencer, name, waveform, index=None)

Add acquisition waveform to sequencer.

_add_awg_waveform(sequencer, name, waveform, index=None)

Add AWG waveform to sequencer.

_add_waveforms(sequencer, waveform_dict)

Add all waveforms in dictionary to sequencer.

_delete_acq_acquisition(sequencer, path, name)

Delete acquisition from sequencer acquisition list.

_delete_acq_waveform(sequencer, name)

Delete acquisition waveform from sequencer.

_delete_awg_waveform(sequencer, name)

Delete AWG waveform from sequencer.

_delete_waveforms(sequencer)

Delete all waveforms from sequencer.

_get_acq_acquisition_data(sequencer, path, name, start=0, size=2147483648)

Get acquisition data from sequencer acquisition list (Values and out-of-range indication).

_get_acq_acquisition_length(sequencer, path, name)

Get acquisition length from sequencer acquisition list.

_get_acq_acquisitions(sequencer, path)

Get all acquisition names from sequencer acquisition list.

_get_acq_num_acquisitions(sequencer, path)

Get number of acquisition in sequencer acquisition list.

_get_acq_waveform_data(sequencer, name, start=0, size=2147483648)

Get acquisition waveform data from sequencer.

_get_acq_waveform_index(sequencer, name)

Get acquisition waveform index from sequencer.

_get_acq_waveform_length(sequencer, name)

Get acquisition waveform length from sequencer.

_get_acq_waveform_name(sequencer, index)

Get acquisition waveform name form sequencer.

_get_acq_waveform_names(sequencer)

Return all acquisition waveforms names

_get_awg_waveform_data(sequencer, name, start=0, size=2147483648)

Get AWG waveform data from sequencer.

_get_awg_waveform_index(sequencer, name)

Get AWG waveform index from sequencer.

_get_awg_waveform_length(sequencer, name)

Get AWG waveform length from sequencer.

_get_awg_waveform_name(sequencer, index)

Get AWG waveform name form sequencer.

_get_awg_waveform_names(sequencer)

Return all AWG waveforms names

_get_num_acq_waveforms(sequencer)

Get number of acquisition waveforms in sequencer.

_get_num_awg_waveforms(sequencer)

Get number of AWG waveforms in sequencer.

_get_scpi_commands()

Get SCPI commands.

static _get_sequencer_cfg_format()

Get sequencer configuration format

_get_sequencer_config(sequencer)

Get sequencer configuration.

_set_acq_acquisition_data(sequencer, path, name)

Set acquisition data in sequencer acquisition list from acquisition path.

_set_acq_waveform_data(sequencer, name, waveform)

Set acquisition waveform data in sequencer

_set_acq_waveform_index(sequencer, name, index)

Set acquisition waveform index in sequencer.

_set_awg_waveform_data(sequencer, name, waveform)

Set AWG waveform data in sequencer

_set_awg_waveform_index(sequencer, name, index)

Set AWG waveform index in sequencer.

_set_sequencer_config(sequencer, cfg_dict)

Set sequencer configuration.

_set_sequencer_program(sequencer, program)

Program sequencer.

arm_sequencer(sequencer=None)

Arm sequencer.

delete_acquisitions(sequencer)

Delete all acquisitions from sequencer acquisition list.

get_acquisitions(sequencer)

Return all acquisitions in a dictionary

get_idn()

Get device identity and build information.

get_sequencer_state(sequencer)

Get sequencer state.

get_system_status()

Get general system status.

get_waveforms(sequencer)

Return all waveforms in a dictionary

start_sequencer(sequencer=None)

Start sequencer.

stop_sequencer(sequencer=None)

Stop sequencer.

store_acquisition(sequencer, name, size=2147483648)

Add acquisition to sequencer acquisition list.

SCPI interface

class pulsar_qrm.pulsar_qrm_scpi_ifc.pulsar_qrm_scpi_ifc(transport_inst, debug=0)
_add_acq_acquisition(sequencer, acq, path, name, size)

Add acquisition to sequencer acquisition list.

_add_acq_waveform(sequencer, acq, name, size, is_integer)

Add waveform to sequencer acquisition path.

_add_awg_waveform(sequencer, awg, name, size, is_integer)

Add waveform to sequencer AWG path.

_arm_sequencer(sequencer)

Arm sequencer.

_check_error_queue(err=None)

Check SCPI error queue

_check_in_type(in_arg_dict, in_type_list)

Check input types

_delete_acq_acquisition(sequencer, acq, path, name)

Delete acquisition from sequencer acquisition list.

_delete_acq_waveform(sequencer, acq, name)

Delete waveform from sequencer acquisition path.

_delete_awg_waveform(sequencer, awg, name)

Delete waveform from sequencer AWG path.

_get_acq_acquisition_data(sequencer, acq, path, name, start, size)

Get acquisition data from sequencer acquisition list.

_get_acq_acquisition_length(sequencer, acq, path, name)

Get acquisition length from sequencer acquisition list.

_get_acq_acquisitions(sequencer, acq, path)

Get all acquisition names from sequencer acquisition list.

_get_acq_num_acquisitions(sequencer, acq, path)

Get number of acquisition in sequencer acquisition list.

_get_acq_num_waveforms(sequencer, acq)

Get number of waveforms in sequencer acquisition path.

_get_acq_waveform_data(sequencer, acq, name, start, size)

Get waveform data from sequencer acquisition path.

_get_acq_waveform_index(sequencer, acq, name)

Get waveform index from sequencer acquisition path.

_get_acq_waveform_length(sequencer, acq, name)

Get waveform length from sequencer acquisition path.

_get_acq_waveform_name(sequencer, acq, index)

Get waveform name from sequencer acquisition path based on index.

_get_acq_waveforms(sequencer, acq)

Get all waveform names from sequencer acquisition path.

_get_awg_num_waveforms(sequencer, awg)

Get number of waveforms in sequencer AWG path.

_get_awg_waveform_data(sequencer, awg, name, start, size)

Get waveform data from sequencer AWG path.

_get_awg_waveform_index(sequencer, awg, name)

Get waveform index from sequencer AWG path.

_get_awg_waveform_length(sequencer, awg, name)

Get waveform length from sequencer AWG path.

_get_awg_waveform_name(sequencer, awg, index)

Get waveform name from sequencer AWG path based on index.

_get_awg_waveforms(sequencer, awg)

Get all waveform names from sequencer AWG path.

_get_idn()

Get device identity and build information.

_get_reference_source()

Get reference source.

_get_scpi_commands()

Get SCPI commands.

_get_sequencer_config(sequencer)

Get sequencer configuration.

_get_sequencer_state(sequencer)

Get sequencer state.

_get_system_status()

Get general system status.

_set_acq_acquisition_data(sequencer, acq, path, name)

Set acquisition data in sequencer acquisition list from acquisition path.

_set_acq_waveform_data(sequencer, acq, name, waveform)

Set waveform data in sequencer acquisition path.

_set_acq_waveform_index(sequencer, acq, name, index)

Set waveform index in sequencer acquisition path.

_set_awg_waveform_data(sequencer, awg, name, waveform)

Set waveform data in sequencer AWG path.

_set_awg_waveform_index(sequencer, awg, name, index)

Set waveform index in sequencer AWG path.

_set_reference_source(internal)

Set reference source.

_set_sequencer_config(sequencer, config)

Set sequencer configuration.

_set_sequencer_program(sequencer, program)

Program sequencer.

_start_sequencer(sequencer)

Start sequencer.

_stop_sequencer(sequencer)

Stop sequencer.

clear()

Clear all status registers.

get_assembler_log()

Get assembler log.

get_assembler_status()

Get assembler status.

get_current_afe_temperature()

Get analog frontend temperature.

get_current_carrier_temperature()

Get current carrier temperature.

get_current_fpga_temperature()

Get current FPGA temperature.

get_maximum_afe_temperature()

Get analog frontend temperature.

get_maximum_carrier_temperature()

Get maximum carrier temperature.

get_maximum_fpga_temperature()

Get maximum FPGA temperature.

get_num_system_error()

Get number of system errors.

get_operation_complete()

Get operation complete status.

get_operation_condition()

Get operation condition.

get_operation_enable()

Get operation enable.

get_operation_events()

Get operation events.

get_questionable_condition()

Get questionable condition.

get_questionable_enable()

Get questionable enable.

get_questionable_event()

Get questionable events.

get_service_request_enable()

Get service request enable.

get_standard_event_status()

Get standard event status.

get_standard_event_status_enable()

Get standard event status enable.

get_status_byte()

Get status byte.

get_system_error()

Get system error from queue.

get_system_version()

Get system version.

preset_system_status()

Preset system status registers.

reset()

Reset device.

set_operation_complete()

Set operation complete command.

set_operation_enable(reg)

Get operation enable.

set_questionable_enable(reg)

Set questionable enable.

set_service_request_enable(reg)

Set service request enable.

set_standard_event_status_enable(reg)

Set standard event status enable.

test()

Run self-test.

wait()

Wait-to-continue.