:py:mod:`lager_pcb.rigol_dl3000` ================================ .. py:module:: lager_pcb.rigol_dl3000 Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: lager_pcb.rigol_dl3000.Mode lager_pcb.rigol_dl3000.DL3000 Attributes ~~~~~~~~~~ .. autoapisummary:: lager_pcb.rigol_dl3000.ModeToCommand lager_pcb.rigol_dl3000.QueryToMode lager_pcb.rigol_dl3000.LAGER_CURRENT_LIMIT lager_pcb.rigol_dl3000.IP_ADDR .. py:class:: Mode Bases: :py:obj:`enum.Enum` Generic enumeration. Derive from this class to define new enumerations. .. py:attribute:: ConstantCurrent .. py:attribute:: ConstantResistance .. py:attribute:: ConstantVoltage .. py:attribute:: ConstantPower .. py:data:: ModeToCommand .. py:data:: QueryToMode .. py:data:: LAGER_CURRENT_LIMIT :annotation: = 1 .. py:exception:: WrongModeException Bases: :py:obj:`Exception` Common base class for all non-exit exceptions. .. py:class:: DL3000(inst) Bases: :py:obj:`object` Rigol DL3000 command wrapper. .. py:method:: check_instrument() .. py:method:: get_identification() Query the ID string of the instrument. .. py:method:: set_lager_safety() .. py:method:: measure_voltage() .. py:method:: measure_current() .. py:method:: measure_power() .. py:method:: measure_resistance() .. py:method:: set_resistance(value) .. py:method:: set_cc_slew_rate(slew) .. py:method:: get_cc_slew_rate() .. py:method:: is_enabled() .. py:method:: enable() Enable the electronic load .. py:method:: disable() Disable the electronic load .. py:method:: set_mode(mode) Set the load mode to "CURRENT", "VOLTAGE", "RESISTANCE", "POWER" .. py:method:: get_mode(raw=False) Get the mode .. py:method:: set_current(current) .. py:method:: get_current() .. py:method:: set_current_limit(ilim) .. py:method:: get_current_limit() .. py:method:: get_voltage_limit() .. py:method:: reset() .. py:method:: get_error() Query and clear the error messages in the error queue. .. py:method:: get_voltage_setting() Queries the load voltage set in CV mode. .. py:method:: get_current_setting() Queries the load current set in CC mode. .. py:method:: get_power_setting() Queries the load power set in CP mode. .. py:method:: get_resistance_setting() Queries the load resistance set in CR mode. .. py:method:: set_power(value) .. py:method:: set_voltage(value) .. py:method:: set_voltage_upper_limit_all(value) Set voltage upper limit for all modes .. py:method:: set_current_upper_limit_all(value) Set current upper limit for all modes .. py:method:: get_state() .. py:method:: get_measurements() .. py:data:: IP_ADDR :annotation: = 192.168.8.196