stoner_measurement.instruments.pressure_controller.PressureGaugeController

class stoner_measurement.instruments.pressure_controller.PressureGaugeController(transport: BaseTransport, protocol: BaseProtocol)[source]

Bases: BaseInstrument

Abstract base class for pressure-gauge controller instruments.

abstractmethod degas_gauge(channel: int, enabled: bool) → None[source]

Enable or disable degas for channel when supported.

abstractmethod get_capabilities() → PressureControllerCapabilities[source]

Return static capability metadata.

abstractmethod get_gauge_type(channel: int) → str | None[source]

Return the transmitter type for channel, if known.

abstractmethod get_setpoint(index: int) → PressureSetpoint[source]

Return one relay/setpoint configuration.

abstractmethod identify() → str[source]

Return an instrument identity or model string.

abstractmethod read_all_pressures() → dict[int, PressureReading][source]

Read all available pressure channels.

read_interlocks() → dict[str, bool | str | int | None][source]

Return current named interlock states when supported.

abstractmethod read_pressure(channel: int) → PressureReading[source]

Read one pressure channel.

abstractmethod read_relay(index: int) → PressureRelayState[source]

Return one relay output state.

abstractmethod set_gauge_on(channel: int, enabled: bool) → None[source]

Switch a gauge channel on or off when supported.

abstractmethod set_relay(index: int, enabled: bool) → None[source]

Enable or disable one relay output when supported.

abstractmethod set_setpoint(index: int, setpoint: PressureSetpoint) → None[source]

Update one relay/setpoint configuration.

abstractmethod zero_gauge(channel: int) → None[source]

Zero a gauge channel when supported.