pressure_control
Generic Pressure control class.
PressureControl
Thin adapter exposing a uniform pressure-control interface over a backend controller.
Source code in src/fluid_control/pressure_control.py
__init__(controller)
Store the backing controller.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
controller
|
Backend pressure-control device exposing |
required |
get_output_pressure()
Return the current output pressure from the backing controller.
Returns:
| Type | Description |
|---|---|
|
The controller's current output pressure reading. |
get_status()
Return the controller status.
Raises:
| Type | Description |
|---|---|
NotImplementedError
|
Status reporting is not yet implemented for this generic adapter. |
Source code in src/fluid_control/pressure_control.py
set_output_pressure(pressure)
Set the output pressure on the backing controller.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
pressure
|
int
|
Target output pressure in mbar. |
required |