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)
- 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) orQuantity) – 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) orQuantity) – 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) orQuantity
- 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:
tupleof (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) orQuantity
- 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) orQuantity
- 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:
tupleof (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) orQuantity