# Delta Elektronica SM7045D Power source

class `pymeasure.instruments.deltaelektronika.``SM7045D`(resourceName, **kwargs)

  Bases: `pymeasure.instruments.instrument.Instrument`

  This is the class for the SM 70-45 D power supply.

      source = SM7045D("GPIB::8")

      source.ramp_to_zero(1)               # Set output to 0 before enabling
      source.enable()                      # Enables the output
      source.current = 1                   # Sets a current of 1 Amps

  property `current`

    A floating point property that represents the output current of the power supply in Amps. This property can be set.

  `disable`()

    Enables remote shutdown, hence input will be disabled.

  `enable`()

    Disable remote shutdown, hence output will be enabled.

  property `max_current`

    A floating point property that represents the maximum output current of the power supply in Amps. This property can be set.

  property `max_voltage`

    A floating point property that represents the maximum output voltage of the power supply in Volts. This property can be set.

  property `measure_current`

    Measures the actual output current of the power supply in Amps.

  property `measure_voltage`

    Measures the actual output voltage of the power supply in Volts.

  `ramp_to_current`(target_current, current_step=0.1)

    Gradually increase/decrease current to target current.

    Parameters

      - target_current – Float that sets the target current (in A)

      - current_step – Optional float that sets the current steps / ramp rate (in A/s)

  `ramp_to_zero`(current_step=0.1)

    Gradually decrease the current to zero.

    Parameters

      current_step – Optional float that sets the current steps / ramp rate (in A/s)

  property `rsd`

    Check whether remote shutdown is enabled/disabled and thus if the output of the power supply is disabled/enabled.

  `shutdown`()

    Set the current to 0 A and disable the output of the power source.

  property `voltage`

    A floating point property that represents the output voltage setting of the power supply in Volts. This property can be set.