Delta Elektronika

PscEth Power Supply over Ethernet controller

class instruments.delta_elektronika.PscEth(filelike)[source]

Communicate with a Delta Elektronica one channel power supply via the PSC-ETH-2 ethernet interface.

For communication, make sure the device is set to “ethernet” mode.

Example:
>>> import instruments as ik
>>> from instruments import units as u
>>> i = ik.delta_elektronika.PscEth.open_tcpip("192.168.127.100", port=8462)
>>> print(i.name)
class LimitStatus(*values)[source]

Enum class for the limit status.

OFF = 0
ON = 1
recall() None[source]

Recall the settings from non-volatile memory.

reset() None[source]

Reset the instrument to default settings.

save() None[source]

Save the current settings to non-volatile memory.

set_current_limit(stat: LimitStatus, val: float | Quantity = 0) None[source]

Set the current limit.

Parameters:
  • stat (PscEth.LimitStatus) – The limit status to set.

  • val (float (assumes milliamps) or Quantity) – The current limit value to set. Only requiered when turning it on.

set_voltage_limit(stat: LimitStatus, val: float | Quantity = 0) None[source]

Set the voltage limit.

Parameters:
  • stat (PscEth.LimitStatus) – The limit status to set.

  • val (float (assumes volts) or Quantity) – The voltage limit value to set. Only requiered when turning it on.

property current

Set/get the output current.

Note: There is no bound checking of the value specified.

Newval:

The output current to set.

Uval:

float (assumes milliamps) or Quantity

property current_limit: tuple[LimitStatus, Quantity]

Get the current limit status.

Returns:

A tuple of the current limit status and the current limit value.

Return type:

tuple of (PscEth.LimitStatus, Quantity)

property current_max

Set/get the maximum output current.

Note: This value should generally not be used. It sets the maximum capable current of the power supply, which is fixed by the hardware. If you set this to other values, you will get strange measurement results.

Newval:

The maximum output current to set.

Uval:

float (assumes milliamps) or Quantity

property current_measure

Get the measured output current.

Return type:

Quantity

property current_stepsize

Get the output current step size.

Return type:

Quantity

property name: str
property voltage

Set/get the output voltage.

Note: There is no bound checking of the value specified.

Newval:

The output voltage to set.

Uval:

float (assumes volts) or Quantity

property voltage_limit: tuple[LimitStatus, Quantity]

Get the voltage limit status.

Returns:

A tuple of the voltage limit status and the voltage limit value.

Return type:

tuple of (PscEth.LimitStatus, Quantity)

property voltage_max

Set/get the maximum output voltage.

Note: This value should generally not be used. It sets the maximum capable voltage of the power supply, which is fixed by the hardware. If you set this to other values, you will get strange measurement results.

Newval:

The maximum output voltage to set.

Uval:

float (assumes volts) or Quantity

property voltage_measure

Get the measured output voltage.

Return type:

Quantity

property voltage_stepsize

Get the output voltage step size.

Return type:

Quantity