MIDAS
|
Go to the source code of this file.
Functions | |
int | frontend_init () |
Frontend initialization. | |
int | frontend_exit () |
Frontend exit. | |
int | begin_of_run (int runno, char *errstr) |
Begin of Run. | |
int | end_of_run (int runno, char *errstr) |
End of Run. | |
int | pause_run (int runno, char *errstr) |
Pause Run. | |
int | resume_run (int runno, char *errstr) |
Resume Run. | |
int | interrupt_configure (INT cmd, INT source, POINTER_T adr) |
int | frontend_loop () |
Frontend loop. | |
int | poll_event (INT source, INT count, BOOL test) |
Variables | |
const char * | frontend_name = "frontend_name" |
const char * | frontend_file_name = "frontend_file_name" |
BOOL | frontend_call_loop = 0 |
int | event_buffer_size = 1000 |
int | max_event_size = 1000 |
int | max_event_size_frag = 1000 |
int | display_period = 1000 |
BOOL | equipment_common_overwrite = FALSE |
EQUIPMENT | equipment [1] |
Begin of Run.
Called every run start transition. Set equipment status in ODB, start acquisition on the modules.
[in] | run_number | Number of the run being started |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 27 of file mfe_link_test_cxx.cxx.
End of Run.
Called every stop run transition. Set equipment status in ODB, stop acquisition on the modules.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 28 of file mfe_link_test_cxx.cxx.
Frontend exit.
Runs at frontend shutdown. Disconnect hardware and set equipment status in ODB
Definition at line 26 of file mfe_link_test_cxx.cxx.
Frontend initialization.
Runs once at application startup. We initialize the hardware and optical interfaces and set the equipment status in ODB. We also lock the frontend to once physical cpu core.
Definition at line 25 of file mfe_link_test_cxx.cxx.
Frontend loop.
If frontend_call_loop is true, this routine gets called when the frontend is idle or once between every event.
Definition at line 32 of file mfe_link_test_cxx.cxx.
Definition at line 31 of file mfe_link_test_cxx.cxx.
Pause Run.
Called every pause run transition.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 29 of file mfe_link_test_cxx.cxx.
Definition at line 33 of file mfe_link_test_cxx.cxx.
Resume Run.
Called every resume run transition.
[in] | run_number | Number of the run being ended |
[out] | error | Can be used to write a message string to midas.log |
Definition at line 30 of file mfe_link_test_cxx.cxx.
int display_period = 1000 |
Definition at line 22 of file mfe_link_test_cxx.cxx.
EQUIPMENT equipment[1] |
Definition at line 24 of file mfe_link_test_cxx.cxx.
Definition at line 23 of file mfe_link_test_cxx.cxx.
int event_buffer_size = 1000 |
Definition at line 19 of file mfe_link_test_cxx.cxx.
BOOL frontend_call_loop = 0 |
Definition at line 18 of file mfe_link_test_cxx.cxx.
Definition at line 17 of file mfe_link_test_cxx.cxx.
Definition at line 16 of file mfe_link_test_cxx.cxx.
int max_event_size = 1000 |
Definition at line 20 of file mfe_link_test_cxx.cxx.
int max_event_size_frag = 1000 |
Definition at line 21 of file mfe_link_test_cxx.cxx.