BK85XXB#
- class BK85XXB(visa_resource: str | VisaConfig)[source]#
Bases:
ELoadDriverBaseB&K Precision 8500B-series E-Load (8500B/8502B/8510B/8514B/8542B).
Hardware-validated against the 8514B; others share the SCPI surface but have not been bench-tested.
Methods
Close the underlying transport.
Measure the current the load is sinking on
channel(amperes).Measure the voltage at
channel's terminals (volts).Open the underlying transport and put the load in remote mode.
Enable or disable load draw on
channel.Set the operating level on
channelin the units appropriate formode.Set the operating mode on
channel: CC, CV, CP, or CR.Set the operating range on
channelfrom the expected maximum.Set the per-edge current slew rate on
channel.Apply or release the load's short on
channel.- short_output(enable: bool, channel: int) None[source]#
Apply or release the load’s short on
channel. Takes effect immediately.
- set_mode( ) None[source]#
Set the operating mode on
channel: CC, CV, CP, or CR.Not every model supports every mode; drivers should raise
NotImplementedErrorfor unsupported combinations.
- 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.
- set_range( ) None[source]#
Set the operating range on
channelfrom the expected maximum.valueis the maximum operating value inmode’s units (seeset_level()). Drivers typically snap to the closest hardware range that coversvalue.
- set_slewrate(
- direction: SlewRateDirection,
- rate: float,
- channel: int,
Set the per-edge current slew rate on
channel.- Parameters:
direction
RISE,FALL, orBOTH— which edge(s) the rate applies to.rate
Slew rate in amperes per microsecond (A/μs).
channel
Target channel (1-indexed).