FlowControllerDriverBase#
- class FlowControllerDriverBase[source]#
Bases:
ABCVendor flow-controller driver contract. Concrete drivers own their transport and lifecycle.
Attributes
Current mass flow reading.
Current pressure reading.
Current process value (primary feedback measurement for control).
Key constant (e.g. MASS_FLOW_KEY, VOLUMETRIC_FLOW_KEY, PRESSURE_KEY) indicating which measurement is the process value.
Current setpoint in the device's configured engineering units.
Current volumetric flow reading.
Methods
Close the underlying transport.
Read a full measurement frame from the device.
Open the underlying transport.
Select the active working fluid by name; driver resolves the device-internal identifier.
Command a new flow setpoint in the device's configured engineering units.
Zero the flow reading.
- abstractmethod set_setpoint(setpt: float) float[source]#
Command a new flow setpoint in the device’s configured engineering units.
- abstractmethod select_working_fluid(fluid_name: str) str[source]#
Select the active working fluid by name; driver resolves the device-internal identifier.
- tare_flow() FlowData[source]#
Zero the flow reading. Device must have zero flow when called. Raises NotImplementedError if controller does not support taring.
- abstract property setpoint: float#
Current setpoint in the device’s configured engineering units. Required for all controller types.
- property mass_flow: float#
Current mass flow reading. Raises NotImplementedError if controller does not measure mass flow.
- property volumetric_flow: float#
Current volumetric flow reading. Raises NotImplementedError if controller does not measure volumetric flow.
- property pressure: float#
Current pressure reading. Raises NotImplementedError if controller does not measure pressure.