FlowControllerDriverBase#

class FlowControllerDriverBase[source]#

Bases: ABC

Vendor flow-controller driver contract. Concrete drivers own their transport and lifecycle.

Attributes

mass_flow

Current mass flow reading.

pressure

Current pressure reading.

process_value

Current process value (primary feedback measurement for control).

process_value_source

Key constant (e.g. MASS_FLOW_KEY, VOLUMETRIC_FLOW_KEY, PRESSURE_KEY) indicating which measurement is the process value.

setpoint

Current setpoint in the device's configured engineering units.

volumetric_flow

Current volumetric flow reading.

Methods

close

Close the underlying transport.

get_flow_data

Read a full measurement frame from the device.

open

Open the underlying transport.

select_working_fluid

Select the active working fluid by name; driver resolves the device-internal identifier.

set_setpoint

Command a new flow setpoint in the device's configured engineering units.

tare_flow

Zero the flow reading.