# HP System Power Supplies HP663XA

Currently supported models are:

Model | Voltage | Current | Power
--- | --- | --- | ---
6632A | 0..20 V | 0..5.0 A | 100 W
6633A | 0..50 V | 0..2.5 A | 100 W
6634A | 0..100 V | 0..1.0 A | 100 W

Note:

  - The multi-channel system power supplies HP 6621A, 6622A, 6623A, 6624A, 6625A, 6626A, 6627A & 6628A share some of the command syntax and could probably be incorporated in this implementation

  - The B-version of these models (6632B, 6633B & 6634B) are SPCI-compliant and could be implemented in a similar manner

class pymeasure.instruments.hp.HP6632A(adapter, name='Hewlett-Packard HP6632A', **kwargs)

  Bases: `HPLegacyInstrument`

  Represents the Hewlett Packard 6632A system power supply and provides a high-level interface for interacting with the instrument.

  class ERRORS(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

    Bases: `Enum`

    Enum class for error messages

  property OCP_enabled

    A bool property which controls if the OCP (OverCurrent Protection) is enabled

  property SRQ_enabled

    A bool property which controls if the SRQ (ServiceReQuest) is enabled

  class ST_ERRORS(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)

    Bases: `Enum`

    Enum class for selftest errors

  check_errors()

    Method to read the error status register

    Return error_status:

      one byte with the error status register content

    Rtype error_status:

      int

  check_selftest_errors()

    Method to read the error status register

    Return error_status:

      one byte with the error status register content

    Rtype error_status:

      int

  clear()

    Resets the instrument to power-on default settings

  property current

    A floating point property that controls the output current of the device.

    (dynamic)

  property delay

    A float property that changes the reprogamming delay Default values: 8 ms in FAST mode 80 ms in NORM mode

    Values will be rounded to the next 4 ms by the instrument

  property display_active

    A boot property which controls if the display is enabled

  property id

    Reads the ID of the instrument and returns this value for now

  property output_enabled

    A bool property which controls if the output is enabled

  property over_voltage_limit

    A floationg point property that sets the OVP threshold.

    (dynamic)

  reset_OVP_OCP()

    Resets Overvoltage and Overcurrent protections

  property rom_version

    Reads the ROM id (software version) of the instrument and returns this value for now

  property status

    Returns an object representing the current status of the unit.

  status_desc

    alias of `Status`

  property voltage

    A floating point proptery that controls the output voltage of the device.

    (dynamic)

class pymeasure.instruments.hp.HP6633A(adapter, name='Hewlett Packard HP6633A', **kwargs)

  Bases: `HP6632A`

  Represents the Hewlett Packard 6633A system power supply and provides a high-level interface for interacting with the instrument.

class pymeasure.instruments.hp.HP6634A(adapter, name='Hewlett Packard HP6634A', **kwargs)

  Bases: `HP6632A`

  Represents the Hewlett Packard 6634A system power supply and provides a high-level interface for interacting with the instrument.