GSI Object Oriented Online Offline (Go4)  GO4-5.3.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mo_def.h
Go to the documentation of this file.
1 // $Id: mo_def.h 478 2009-10-29 12:26:09Z linev $
2 //-----------------------------------------------------------------------
3 // The GSI Online Offline Object Oriented (Go4) Project
4 // Experiment Data Processing at EE department, GSI
5 //-----------------------------------------------------------------------
6 // Copyright (C) 2000- GSI Helmholtzzentrum für Schwerionenforschung GmbH
7 // Planckstr. 1, 64291 Darmstadt, Germany
8 // Contact: http://go4.gsi.de
9 //-----------------------------------------------------------------------
10 // This software can be used under the license agreements as stated
11 // in Go4License.txt file which is part of the distribution.
12 //-----------------------------------------------------------------------
13 
14 /* N.Kurz 8-Jun-1998 */
15 /* N.Kurz 30-May-2000 updated */
16 
17 #include "typedefs.h"
18 
19 #define MO__TCP_MSG_DAQSTAT 0x101
20 #define MO__TCP_MSG_DATREQ 0x102
21 #define MO__TCP_MSG_ACKREQ1 0x103
22 #define MO__TCP_MSG_ACKREQ2 0x104
23 
24 #define MO__DATREQ_SIZE 12
25 #define MO__ACKN1_SIZE 32
26 
27 #define MO__N_NODE 16
28  /* maximal nr. of ds and dr nodes each in a system */
29 
30 #define MO__SETUP_TAB "mo_setup"
31 
32 #define MO__RD_PIPE_NAME "mo_read_pipe"
33  /* generic name, will be expanded by the ds node id */
34 
35 #define MO__EVT_BUF_NAME "evt_buf"
36  /* intermediate event buffer */
37 
38 #define RIO2__SLAVE_VME_PIPE_OFF 0x200000
39 #define RIO2__SLAVE_VME_WIN_SIZE 0x1000000
40 #define RIO2__PCI_OFFSET 0x80000000
41 
42 
43 #define DLEB__TCP_INFO 0x201
44 #define DLEB__INFO_SIZE 12
45 #define DLEB__CONNECT_RETRY 5