Handle
Methods
Types
EloadMode
EloadState
Method Reference
set(mode: EloadMode, value: f64) -> Result<()>
Switch to mode and apply value as its setpoint, atomically. The box performs
both as one composite operation under the instrument lock, so the load never spends
a moment in the new mode carrying the old mode’s setpoint.
setpoint(mode: EloadMode) -> Result<f64>
Read the stored setpoint for a mode. Each mode keeps its own, so reading Cv after
setting Cc gives you the constant-voltage setpoint, not the current you just set.
state() -> Result<EloadState>
Current mode, whether the input is enabled, and the measurements.
Examples
Step the load and watch the rail hold up
Supported Hardware
Notes
- Prefer
set()over changing mode and setpoint separately — that is the whole reason it takes both. - Return the load to zero in teardown. A load left drawing current keeps drawing it after your test exits.
measured_voltageis the voltage at the load’s terminals, which includes any drop in the wiring between it and the DUT. For a rail measurement at the DUT, use an ADC net wired there.

