InstroELoad#
- class InstroELoad(
- name: str | None = None,
- driver: ELoadDriverBase | None = None,
- publishers: list[Publisher] | None = None,
- config: ELoadConfig | dict | Path | str | None = None,
- autostart: bool = False,
- **kwargs,
Bases:
InstrumentElectronic-load instrument. Methods return Measurement/Command for publishing.
Initialize an InstroELoad.
Provide either
configordriver, not both.- Parameters:
name – Channel-name prefix for published data. Falls back to
config.device.namewhenconfigis given.driver –
Concrete E-Load driver; owns its own transport:
eload = InstroELoad( "main", driver=BK85XXB("ASRL19::INSTR"), )
publishers – Publishers that receive emitted Measurement/Command data. Combined with any publishers declared in
config.config – An
ELoadConfig, a dict, or a path to a JSON config file. Itsloadblock is applied through the public setters onopen(); the input is never enabled from config.autostart – When True, open the connection and start background polling.
**kwargs – Default tags applied to every emitted Measurement/Command. Pass
dataset_rid="<rid>"to auto-create a NominalCorePublisher (uses the on-disk ‘default’ Nominal credential).
Attributes
Seconds between background daemon iterations (0 = no wait). |
|
Return an insertion-ordered snapshot of all published channel names. |
Methods
Append |
|
Register a publisher to receive this instrument's Measurement/Command data. |
|
Close the underlying driver and stop the daemon. |
|
Replace all daemon functions with a single |
|
Return the most recent |
|
Measure the current (amperes) sensed on |
|
Return the most recent sample for |
|
Measure the voltage (volts) sensed on |
|
Open the underlying driver and apply any configured load state. |
|
Enable or disable the output on |
|
Fan |
|
Set the operating level in the active mode's units (CC: A, CV: V, CP: W, CR: Ω). |
|
Set the channel's operation mode: CC, CR, CP, or CV. |
|
Set the range from the expected maximum operating value in the active mode's units (CC: A, CV: V, CP: W, CR: Ω). |
|
Set the per-edge current slew rate (A/μs) for |
|
Enable or disable the channel short. |
|
Start the background daemon thread. |
|
Signal the background daemon to stop and join it. |