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. The load therefore 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.
enable() -> Result<()> and disable() -> Result<()>
Switch the load’s input on or off. With the input on, the load sinks current at the
setpoint of its mode. These require box software 0.62.0 or later. An older box fails
with Error::UnsupportedByBox.
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, and call
disable()on box 0.62.0 or later. 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.

