STAR
Cal STAR — firmware, DAQ server, and engine design
Loading...
Searching...
No Matches
board_simulator Namespace Reference

Classes

class  TimingPathology
class  SimulatedBoard

Functions

 main ()

Variables

int PACKET_TYPE_HEARTBEAT = 1
int PACKET_TYPE_SERVER_HEARTBEAT = 2
int PACKET_TYPE_SENSOR_DATA = 3
int PACKET_TYPE_ACTUATOR_COMMAND = 4
int PACKET_TYPE_SENSOR_CONFIG = 5
int PACKET_TYPE_ACTUATOR_CONFIG = 6
int PACKET_TYPE_SELF_TEST = 12
int PACKET_TYPE_LOGS = 15
int BOARD_STATE_SETUP = 1
int BOARD_STATE_ACTIVE = 2
int BOARD_STATE_SELF_TEST = 10
int BOARD_TYPE_PT = 1
int BOARD_TYPE_LC = 2
int BOARD_TYPE_RTD = 3
int BOARD_TYPE_TC = 4
int BOARD_TYPE_ACTUATOR = 5
int BOARD_TYPE_BALL_VALVE = 8
float BALL_VALVE_TRAVEL_S = 3.0
float BALL_VALVE_HEARTBEAT_TIMEOUT_S = 5.0
int BALL_VALVE_SAFE_STATE = 1

Function Documentation

◆ main()

board_simulator.main ( )

Definition at line 640 of file board_simulator.py.

References main().

Referenced by main().

Variable Documentation

◆ BALL_VALVE_HEARTBEAT_TIMEOUT_S

float board_simulator.BALL_VALVE_HEARTBEAT_TIMEOUT_S = 5.0

Definition at line 50 of file board_simulator.py.

◆ BALL_VALVE_SAFE_STATE

int board_simulator.BALL_VALVE_SAFE_STATE = 1

Definition at line 51 of file board_simulator.py.

◆ BALL_VALVE_TRAVEL_S

float board_simulator.BALL_VALVE_TRAVEL_S = 3.0

Definition at line 49 of file board_simulator.py.

◆ BOARD_STATE_ACTIVE

int board_simulator.BOARD_STATE_ACTIVE = 2

Definition at line 36 of file board_simulator.py.

◆ BOARD_STATE_SELF_TEST

int board_simulator.BOARD_STATE_SELF_TEST = 10

Definition at line 37 of file board_simulator.py.

◆ BOARD_STATE_SETUP

int board_simulator.BOARD_STATE_SETUP = 1

Definition at line 35 of file board_simulator.py.

◆ BOARD_TYPE_ACTUATOR

int board_simulator.BOARD_TYPE_ACTUATOR = 5

Definition at line 44 of file board_simulator.py.

◆ BOARD_TYPE_BALL_VALVE

int board_simulator.BOARD_TYPE_BALL_VALVE = 8

Definition at line 45 of file board_simulator.py.

◆ BOARD_TYPE_LC

int board_simulator.BOARD_TYPE_LC = 2

Definition at line 41 of file board_simulator.py.

◆ BOARD_TYPE_PT

int board_simulator.BOARD_TYPE_PT = 1

Definition at line 40 of file board_simulator.py.

◆ BOARD_TYPE_RTD

int board_simulator.BOARD_TYPE_RTD = 3

Definition at line 42 of file board_simulator.py.

◆ BOARD_TYPE_TC

int board_simulator.BOARD_TYPE_TC = 4

Definition at line 43 of file board_simulator.py.

◆ PACKET_TYPE_ACTUATOR_COMMAND

int board_simulator.PACKET_TYPE_ACTUATOR_COMMAND = 4

Definition at line 28 of file board_simulator.py.

◆ PACKET_TYPE_ACTUATOR_CONFIG

int board_simulator.PACKET_TYPE_ACTUATOR_CONFIG = 6

Definition at line 30 of file board_simulator.py.

◆ PACKET_TYPE_HEARTBEAT

int board_simulator.PACKET_TYPE_HEARTBEAT = 1

Definition at line 25 of file board_simulator.py.

◆ PACKET_TYPE_LOGS

int board_simulator.PACKET_TYPE_LOGS = 15

Definition at line 32 of file board_simulator.py.

◆ PACKET_TYPE_SELF_TEST

int board_simulator.PACKET_TYPE_SELF_TEST = 12

Definition at line 31 of file board_simulator.py.

◆ PACKET_TYPE_SENSOR_CONFIG

int board_simulator.PACKET_TYPE_SENSOR_CONFIG = 5

Definition at line 29 of file board_simulator.py.

◆ PACKET_TYPE_SENSOR_DATA

int board_simulator.PACKET_TYPE_SENSOR_DATA = 3

Definition at line 27 of file board_simulator.py.

◆ PACKET_TYPE_SERVER_HEARTBEAT

int board_simulator.PACKET_TYPE_SERVER_HEARTBEAT = 2

Definition at line 26 of file board_simulator.py.