EQUIPMENT_INFO Struct Reference
[Equipment related]


Detailed Description

Definition at line 954 of file midas.h.

Data Fields

WORD event_id
WORD trigger_mask
char buffer [NAME_LENGTH]
INT eq_type
INT source
char format [8]
BOOL enabled
INT read_on
INT period
double event_limit
DWORD num_subevents
INT history
char frontend_host [NAME_LENGTH]
char frontend_name [NAME_LENGTH]
char frontend_file_name [256]


Field Documentation

char EQUIPMENT_INFO::buffer[NAME_LENGTH]

Event buffer to send events into

Definition at line 957 of file midas.h.

Referenced by register_equipment().

BOOL EQUIPMENT_INFO::enabled

Enable flag

Definition at line 961 of file midas.h.

Referenced by check_polled_events(), scheduler(), and send_all_periodic_events().

INT EQUIPMENT_INFO::eq_type

One of EQ_xxx

Definition at line 958 of file midas.h.

Referenced by check_polled_events(), register_equipment(), scheduler(), and send_event().

WORD EQUIPMENT_INFO::event_id

Event ID associated with equipm.

Definition at line 955 of file midas.h.

Referenced by check_polled_events(), interrupt_routine(), readout_thread(), register_equipment(), and send_event().

double EQUIPMENT_INFO::event_limit

Stop run when limit is reached

Definition at line 964 of file midas.h.

Referenced by register_equipment(), and scheduler().

char EQUIPMENT_INFO::format[8]

Data format to produce

Definition at line 960 of file midas.h.

Referenced by load_fragment(), and register_equipment().

char EQUIPMENT_INFO::frontend_file_name[256]

Source file used for user FE

Definition at line 969 of file midas.h.

Referenced by register_equipment().

char EQUIPMENT_INFO::frontend_host[NAME_LENGTH]

Host on which FE is running

Definition at line 967 of file midas.h.

Referenced by register_equipment().

char EQUIPMENT_INFO::frontend_name[NAME_LENGTH]

Frontend name

Definition at line 968 of file midas.h.

Referenced by register_equipment().

INT EQUIPMENT_INFO::history

Log history

Definition at line 966 of file midas.h.

Referenced by send_event().

DWORD EQUIPMENT_INFO::num_subevents

Number of events in super event

Definition at line 965 of file midas.h.

Referenced by check_polled_events(), and receive_trigger_event().

INT EQUIPMENT_INFO::period

Readout interval/Polling time in ms

Definition at line 963 of file midas.h.

Referenced by check_polled_events().

INT EQUIPMENT_INFO::read_on

Combination of Read-On flags RO_xxx

Definition at line 962 of file midas.h.

Referenced by send_all_periodic_events(), and send_event().

INT EQUIPMENT_INFO::source

Event source (LAM/IRQ)

Definition at line 959 of file midas.h.

Referenced by check_polled_events(), main(), readout_thread(), and register_equipment().

WORD EQUIPMENT_INFO::trigger_mask

Trigger mask

Definition at line 956 of file midas.h.

Referenced by check_polled_events(), interrupt_routine(), readout_thread(), and send_event().


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