set_level()#
- abstractmethod ELoadDriverBase.set_level( ) None[source]#
Set the operating level on
channelin the units appropriate formode.- Parameters:
mode – Active load mode — caller passes it explicitly so the driver doesn’t need to track state. Units: CC → amperes, CV → volts, CP → watts, CR → ohms.
value – Operating level in
mode’s units.channel – Target channel (1-indexed).
curr_limit – Optional current limit; only meaningful in CV mode. Drivers may ignore it in other modes.