stoner_measurement.instruments.leybold.pressure_controllers.LeyboldDisplayThree

class stoner_measurement.instruments.leybold.pressure_controllers.LeyboldDisplayThree(transport: BaseTransport, voltage_reader: Callable[[int], float], voltage_to_pressure: Callable[[int, float], float], protocol: LeyboldCenterProtocol | None = None, *, unit: PressureUnit = PressureUnit.MBAR)[source]

Bases: PressureGaugeController

Analogue-I/O driver facade for the Leybold DISPLAY THREE.

The DISPLAY THREE manual does not document a serial pressure-query protocol; this class therefore accepts user-supplied analogue voltage readers and conversion functions for each channel.

DISPLAY_NAME = 'Leybold DISPLAY THREE'
degas_gauge(channel: int, enabled: bool) → None[source]

Remote degas is not available via the display unit.

get_capabilities() → PressureControllerCapabilities[source]

Return static DISPLAY THREE capabilities.

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

DISPLAY THREE gauge type is configured on the front panel.

get_setpoint(index: int) → PressureSetpoint[source]

Remote setpoint reads are not available via the display unit.

identify() → str[source]

Return a fixed identity string for the analogue facade.

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

Read all three analogue pressure channels.

read_pressure(channel: int) → PressureReading[source]

Read and convert an analogue pressure output for channel.

read_relay(index: int) → PressureRelayState[source]

Remote relay reads require external digital I/O.

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

Remote gauge switching is not available via the display unit.

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

Remote relay writes are not available via the display unit.

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

Remote setpoint writes are not available via the display unit.

zero_gauge(channel: int) → None[source]

Remote zero is not available via the display unit.