Import
Methods
The Net-based API provides methods that can either get or set values. When called without a value parameter, methods read and return the current value. When called with a value, they set it.Method Reference
Net.get(name, type=NetType.ELoad)
Get an electronic load net by name.
Returns: Electronic load Net instance
mode(mode_type=None)
Set or read the operation mode.
Returns: Current mode string if
mode_type is None
current(value=None)
Set or read the constant current setting.
Returns: Current setting in amps if
value is None
voltage(value=None)
Set or read the constant voltage setting.
resistance(value=None)
Set or read the constant resistance setting. Values below 0.02 ohms are at the minimum range limit of the instrument and may be clamped. A warning is printed if the applied value differs from the requested value.
power(value=None)
Set or read the constant power setting.
enable() / disable()
Enable or disable the electronic load input.
print_state()
Print comprehensive electronic load state.
measured_voltage() / measured_current() / measured_power()
Read actual measured values (return floats, for use in code).
float - Measured value
Load Modes
Examples
Constant Current Test
Battery Discharge Test
Power Efficiency Test
Supported Hardware
Notes
- Use
mode()to set the operation mode before setting the corresponding value - Methods like
current(),voltage(),resistance(),power()can get or set values measured_voltage(),measured_current(),measured_power()return actual measurementsprint_state()prints state (for debugging), measurement methods return values (for code)- Always call
enable()to start sinking current - Always call
disable()when finished - Resistance values below 0.02 ohms may be clamped by the instrument

