frontend.c File Reference

Go to the source code of this file.


Define Documentation

#define CRATE   0
 

Definition at line 56 of file frontend.c.

Referenced by frontend_init(), read_scaler_event(), and read_trigger_event().

#define N_ADC   4
 

Definition at line 51 of file frontend.c.

Referenced by adc_calib().

#define N_SCLR   4
 

Definition at line 53 of file frontend.c.

#define N_TDC   4
 

Definition at line 52 of file frontend.c.

#define SLOT_ADC   1
 

Definition at line 58 of file frontend.c.

Referenced by read_trigger_event().

#define SLOT_IO   23
 

Definition at line 57 of file frontend.c.

Referenced by frontend_init(), and read_trigger_event().

#define SLOT_SCLR   3
 

Definition at line 60 of file frontend.c.

Referenced by read_scaler_event().

#define SLOT_TDC   2
 

Definition at line 59 of file frontend.c.

Referenced by read_trigger_event().


Function Documentation

INT begin_of_run INT  run_number,
char *  error
 

Referenced by tr_start().

INT end_of_run INT  run_number,
char *  error
 

Referenced by tr_stop().

INT frontend_exit  ) 
 

INT frontend_init  ) 
 

INT frontend_loop  ) 
 

INT interrupt_configure INT  cmd,
INT  source,
POINTER_T  adr
 

Definition at line 258 of file frontend.c.

Referenced by interrupt_enable(), main(), and register_equipment().

INT pause_run INT  run_number,
char *  error
 

Referenced by tr_pause().

INT poll_event INT  source,
INT  count,
BOOL  test
 

Definition at line 237 of file frontend.c.

Referenced by register_equipment(), and scheduler().

INT read_scaler_event char *  pevent,
INT  off
 

INT read_trigger_event char *  pevent,
INT  off
 

Definition at line 275 of file frontend.c.

void register_cnaf_callback int  debug  ) 
 

Referenced by frontend_init().

INT resume_run INT  run_number,
char *  error
 

Referenced by tr_resume().


Variable Documentation

INT display_period = 3000
 

Definition at line 39 of file frontend.c.

EQUIPMENT equipment[]
 

Definition at line 81 of file frontend.c.

INT event_buffer_size = 10 * 10000
 

Definition at line 48 of file frontend.c.

BOOL frontend_call_loop = FALSE
 

Definition at line 36 of file frontend.c.

char* frontend_file_name = __FILE__
 

Definition at line 33 of file frontend.c.

char* frontend_name = "Sample Frontend"
 

Definition at line 31 of file frontend.c.

INT max_event_size = 10000
 

Definition at line 42 of file frontend.c.

INT max_event_size_frag = 5 * 1024 * 1024
 

Definition at line 45 of file frontend.c.


Midas DOC Version 1.9.5 ---- PSI Stefan Ritt ----
Contributions: Pierre-Andre Amaudruz - Sergio Ballestrero - Suzannah Daviel - Doxygen - Peter Green - Qing Gu - Greg Hackman - Gertjan Hofman - Paul Knowles - Rudi Meier - Glenn Moloney - Dave Morris - John M O'Donnell - Konstantin Olchanski - Renee Poutissou - Tamsen Schurman - Andreas Suter - Jan M.Wouters - Piotr Adam Zolnierczuk