Functions | |
INT | interrupt_configure (INT cmd, INT source[], PTYPE adr) |
INT | frontend_init () |
INT | frontend_exit () |
INT | frontend_loop () |
INT | begin_of_run (INT run_number, char *error) |
INT | end_of_run (INT run_number, char *error) |
INT | pause_run (INT run_number, char *error) |
INT | resume_run (INT run_number, char *error) |
INT | poll_event (INT source, INT count, BOOL test) |
Variables | |
run_state | |
char * | frontend_name = "feTEC" |
char * | frontend_file_name = __FILE__ |
BOOL | frontend_call_loop = TRUE |
INT | display_period = 0 |
INT | max_event_size = 32768 |
INT | max_event_size_frag = 5*1024*1024 |
INT | event_buffer_size = DEFAULT_EVENT_BUFFER_SIZE |
DEVICE_DRIVER | modtcp_driver [] |
EQUIPMENT | equipment [] |
A link is made between the Midas database and the PLC, allowing monitoring of the PLC state and logging of various values. It is intended for installation as another front end running on E614Slow.triumf.ca as part of the Twist DAQ system
Contents: TRIUMF Twist TEC Gas Handling Frontend program.
Equipment Event_ID Trigger_mask Comments TecPlc 2 0x008
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { {"TecPlc", 1, 0x0, "SYSTEM", EQ_SLOW, 0, "MIDAS", TRUE, RO_RUNNING | RO_TRANSITIONS, 60000, 0, 0, 0, "", "", "", cd_tec_read, cd_tec, modtcp_driver, NULL, }, { "" } } |
|
|
|
|
|
|
|
|
|
|
|
|
|
Initial value: { { "TecPlc", modtcp, 23}, { "" } } |
|
|