GSI Object Oriented Online Offline (Go4)  GO4-6.3.0
mo_def.h
Go to the documentation of this file.
1 // $Id$
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 fuer 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 #ifndef MO_DEF_H
18 #define MO_DEF_H
19 
20 #include "typedefs.h"
21 
22 #define MO__TCP_MSG_DAQSTAT 0x101
23 #define MO__TCP_MSG_DATREQ 0x102
24 #define MO__TCP_MSG_ACKREQ1 0x103
25 #define MO__TCP_MSG_ACKREQ2 0x104
26 
27 #define MO__DATREQ_SIZE 12
28 #define MO__ACKN1_SIZE 32
29 
30 #define MO__N_NODE 16
31  /* maximal nr. of ds and dr nodes each in a system */
32 
33 #define MO__SETUP_TAB "mo_setup"
34 
35 #define MO__RD_PIPE_NAME "mo_read_pipe"
36  /* generic name, will be expanded by the ds node id */
37 
38 #define MO__EVT_BUF_NAME "evt_buf"
39  /* intermediate event buffer */
40 
41 #define RIO2__SLAVE_VME_PIPE_OFF 0x200000
42 #define RIO2__SLAVE_VME_WIN_SIZE 0x1000000
43 #define RIO2__PCI_OFFSET 0x80000000
44 
45 
46 #define DLEB__TCP_INFO 0x201
47 #define DLEB__INFO_SIZE 12
48 #define DLEB__CONNECT_RETRY 5
49 
50 #endif