lager_pcb.rigol_dl3000

Module Contents

Classes

Mode

Generic enumeration.

DL3000

Rigol DL3000 command wrapper.

Attributes

ModeToCommand

QueryToMode

LAGER_CURRENT_LIMIT

IP_ADDR

class lager_pcb.rigol_dl3000.Mode

Bases: enum.Enum

Generic enumeration.

Derive from this class to define new enumerations.

ConstantCurrent
ConstantResistance
ConstantVoltage
ConstantPower
lager_pcb.rigol_dl3000.ModeToCommand
lager_pcb.rigol_dl3000.QueryToMode
lager_pcb.rigol_dl3000.LAGER_CURRENT_LIMIT = 1
exception lager_pcb.rigol_dl3000.WrongModeException

Bases: Exception

Common base class for all non-exit exceptions.

class lager_pcb.rigol_dl3000.DL3000(inst)

Bases: object

Rigol DL3000 command wrapper.

check_instrument()
get_identification()

Query the ID string of the instrument.

set_lager_safety()
measure_voltage()
measure_current()
measure_power()
measure_resistance()
set_resistance(value)
set_cc_slew_rate(slew)
get_cc_slew_rate()
is_enabled()
enable()

Enable the electronic load

disable()

Disable the electronic load

set_mode(mode)

Set the load mode to "CURRENT", "VOLTAGE", "RESISTANCE", "POWER"

get_mode(raw=False)

Get the mode

set_current(current)
get_current()
set_current_limit(ilim)
get_current_limit()
get_voltage_limit()
reset()
get_error()

Query and clear the error messages in the error queue.

get_voltage_setting()

Queries the load voltage set in CV mode.

get_current_setting()

Queries the load current set in CC mode.

get_power_setting()

Queries the load power set in CP mode.

get_resistance_setting()

Queries the load resistance set in CR mode.

set_power(value)
set_voltage(value)
set_voltage_upper_limit_all(value)

Set voltage upper limit for all modes

set_current_upper_limit_all(value)

Set current upper limit for all modes

get_state()
get_measurements()
lager_pcb.rigol_dl3000.IP_ADDR = 192.168.8.196