|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| str | _board_ip_for (str sensor_type) |
| int | _default_udp_port () |
| bool | check_system_health () |
| list_available_tools () | |
| str | select_tool_interactive () |
| list | build_tool_command (str tool_name, args) |
| main () | |
Variables | |
| level | |
| INFO | |
| format | |
| logger = logging.getLogger(__name__) | |
| bool | _cfg_loaded = True |
| bool | ROBUSTNESS_AVAILABLE = False |
| OperationMode = None | |
| SystemConfig = None | |
| CALIBRATION_DIR = Path(__file__).parent.resolve() | |
| dict | TOOL_REGISTRY |
Mission-Critical Calibration System Startup Provides mode selection, validation, and health checks before launching calibration tools for PT, TC, RTD, and LC sensors. Usage: # Interactive mode selection python3 start_calibration_system.py # Launch specific autonomous calibration tool directly python3 start_calibration_system.py --tool autonomous_pt_calibration --udp-port 5006 --board-ip 192.168.2.101 python3 start_calibration_system.py --tool autonomous_tc_calibration --udp-port 5006 --board-ip 192.168.2.103 -i python3 start_calibration_system.py --tool autonomous_rtd_calibration --udp-port 5006 --board-ip 192.168.2.104 -i python3 start_calibration_system.py --tool autonomous_lc_calibration --udp-port 5006 --board-ip 192.168.2.105 -i # Launch calibration GUI python3 start_calibration_system.py --tool pt_calibration_gui --mode calibration
|
protected |
Get default board IP for a sensor type from config, with hardcoded fallbacks.
Definition at line 69 of file start_calibration_system.py.
Referenced by build_tool_command(), and main().
|
protected |
Definition at line 84 of file start_calibration_system.py.
Referenced by main().
| list start_calibration_system.build_tool_command | ( | str | tool_name, |
| args ) |
Build subprocess command for the selected tool.
Definition at line 292 of file start_calibration_system.py.
References _board_ip_for().
Referenced by main().
| bool start_calibration_system.check_system_health | ( | ) |
Check system health before startup
Definition at line 162 of file start_calibration_system.py.
Referenced by main().
| start_calibration_system.list_available_tools | ( | ) |
List all available calibration tools and their status.
Definition at line 241 of file start_calibration_system.py.
Referenced by main(), and select_tool_interactive().
| start_calibration_system.main | ( | ) |
Definition at line 343 of file start_calibration_system.py.
References _board_ip_for(), _default_udp_port(), build_tool_command(), check_system_health(), list_available_tools(), main(), and select_tool_interactive().
Referenced by main().
| str start_calibration_system.select_tool_interactive | ( | ) |
Interactive tool selection.
Definition at line 265 of file start_calibration_system.py.
References format, and list_available_tools().
Referenced by main().
|
protected |
Definition at line 44 of file start_calibration_system.py.
| start_calibration_system.CALIBRATION_DIR = Path(__file__).parent.resolve() |
Definition at line 66 of file start_calibration_system.py.
| start_calibration_system.format |
Definition at line 30 of file start_calibration_system.py.
Referenced by select_tool_interactive().
| start_calibration_system.INFO |
Definition at line 30 of file start_calibration_system.py.
| start_calibration_system.level |
Definition at line 30 of file start_calibration_system.py.
| start_calibration_system.logger = logging.getLogger(__name__) |
Definition at line 32 of file start_calibration_system.py.
Definition at line 50 of file start_calibration_system.py.
| bool start_calibration_system.ROBUSTNESS_AVAILABLE = False |
Definition at line 49 of file start_calibration_system.py.
Definition at line 51 of file start_calibration_system.py.
| dict start_calibration_system.TOOL_REGISTRY |
Definition at line 91 of file start_calibration_system.py.