Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

minosDaq.h

Go to the documentation of this file.
00001 /* minosDaq.h - General definitions for all Minos DAQ components */
00002  
00003 /* G.J.Crone, University College London */
00004 
00005 /*
00006  * Current CVS Tag:
00007  * $Header: /cvs/minoscvs/rep1/minossoft/OnlineUtil/minosDaq.h,v 1.6 2004/10/01 16:50:18 rhatcher Exp $
00008  */
00009  
00010 /* 
00011  * Modification History : DO NOT EDIT - MAINTAINED BY CVS 
00012  * $Log: minosDaq.h,v $
00013  * Revision 1.6  2004/10/01 16:50:18  rhatcher
00014  * synch with online CVS repository of 2004-09-29
00015  *
00016  * Revision 1.14  2004/09/29 15:18:04  ntagg
00017  * Add MINOS_SPILLSERVER as a component.
00018  *
00019  * Revision 1.13  2004/05/24 15:54:24  gjc
00020  * Added ROP_CONTROL_PORT and ROP_REQUEST_PORT.
00021  *
00022  * Revision 1.12  2003/07/03 11:03:19  tcn
00023  * Added port definition for ROP socket comms
00024  *
00025  * Revision 1.11  2003/06/03 14:06:15  gjc
00026  * Define MAXROPS for ROP mapping code
00027  *
00028  * Revision 1.10  2003/03/25 11:54:06  howcroft
00029  * added typedefs and a rop 0x10 and 0x11
00030  *
00031  * Revision 1.9  2002/10/10 18:04:22  howcroft
00032  * added ids for brp4 and brp5
00033  *
00034  * Revision 1.8  2002/03/22 12:45:45  tcn
00035  * Added MCP port
00036  *
00037  * Revision 1.7  2001/11/06 18:57:00  howcroft
00038  *  Made rc states consistent with mbrp's
00039  *
00040  * Revision 1.6  2001/08/17 14:56:07  tcn
00041  * Added definition of VXSYSLOG_PORT
00042  *
00043  * Revision 1.5  2001/07/04 13:02:00  gfp
00044  * Add RotoRooter port numbers
00045  *
00046  * Revision 1.4  2001/05/09 07:07:27  gjc
00047  * Define TP_PORT for socket comms to Trigger Processors
00048  *
00049  * Revision 1.3  2001/04/09 16:39:16  gjc
00050  * Use node Ids from Mark's proposal
00051  *
00052  * Revision 1.2  2001/04/05 18:32:13  gjc
00053  * defined ROPS_PER_BRP
00054  *
00055  * Revision 1.1  2001/03/26 18:21:48  gjc
00056  * initial check in
00057  *
00058  *
00059  */ 
00060 
00061 #ifndef _minosDaq_H
00062 #define _minosDaq_H
00063 #ifdef __cplusplus 
00064 extern "C" { 
00065 #endif /* __cplusplus */
00066  
00067 /* includes */
00068 
00069 /* defines */
00070 #define DAQ_LOG_FACILITY LOG_LOCAL1
00071 
00072 #define RC_PORT 9002
00073 #define SLAVE_PORT 9003 /* For test purposes without PVIC */
00074 #define TP_PORT 9010
00075 
00076 #define ROOTER_PORT_DAQ 9011 /* If you change this, alter start_daq also */
00077 #define ROOTER_PORT_DCS 9012
00078 #define VXSYSLOG_PORT   2345  /* Port for VxWorks syslog proxy server */
00079 #define MCP_PORT        8000  /* Port for Master Clock Processor server */
00080 #define ROP_PORT        8001  /* Port for ROP socket server */
00081 #define ROP_CONTROL_PORT 8002
00082 #define ROP_REQUEST_PORT 8003
00083 
00084 #define MAXBRPS 6  /* Maximum number of BRPs in one readout system */
00085 #define MAXTPS 11
00086 #define MAXROPS 16
00087 #define ROPS_PER_BRP 4
00088 
00089 /* typedefs */
00090 
00091 typedef enum MinosOnlineEntities {
00092   MINOS_MBRP=0x01,
00093   MINOS_BRP0=0x11,
00094   MINOS_BRP1,
00095   MINOS_BRP2,
00096   MINOS_BRP3,
00097   MINOS_BRP4,   /*Soudan 6 branch system*/
00098   MINOS_BRP5,
00099 
00100   MINOS_ROP0=0x20,
00101   MINOS_ROP1,
00102   MINOS_ROP2,
00103   MINOS_ROP3,
00104   MINOS_ROP4,
00105   MINOS_ROP5,
00106   MINOS_ROP6,
00107   MINOS_ROP7,
00108   MINOS_ROP8,
00109   MINOS_ROP9,
00110   MINOS_ROPA,
00111   MINOS_ROPB,
00112   MINOS_ROPC,
00113   MINOS_ROPD,
00114   MINOS_ROPE,
00115   MINOS_ROPF,
00116   MINOS_ROP10,
00117   MINOS_ROP11,
00118 
00119   MINOS_TRP0=0x40,
00120   MINOS_TRP1,
00121   MINOS_TRP2,
00122   MINOS_TRP3,
00123   MINOS_TRP4,
00124   MINOS_TRP5,
00125   MINOS_TRP6,
00126   MINOS_TRP7,
00127   MINOS_TRP8,
00128   MINOS_TRP9,
00129   MINOS_TRPA,
00130   MINOS_TRPB,
00131   MINOS_TRPC,
00132   MINOS_TRPD,
00133   MINOS_TRPE,
00134   MINOS_TRPF,
00135 
00136   MINOS_FPC=0x60,
00137   MINOS_TPC,
00138   MINOS_DDS,
00139   MINOS_DCP,
00140   MINOS_DCS,
00141   MINOS_TRIGGER,
00142   MINOS_ROOTER,
00143   MINOS_SPILLSERVER,
00144 
00145   MINOS_QUASI_ONLINE=0x70,
00146   MINOS_ONLINE_MONITORING,
00147   MINOS_ONLINE_DBU,
00148   MINOS_ONLINE_EVENT_DISPLAY,
00149   MINOS_RC,   
00150   /*RC only below here*/
00151   MINOS_DAQ_GLOBAL,
00152   MINOS_RC_MASTER_GUI,   
00153   MINOS_RC_MONITOR_GUI,
00154   MINOS_RC_GUIS,
00155   MINOS_UNIDENTIFIED_CLIENT,
00156   END_OF_MINOS_DAQ_ENTITIES
00157 } MinosEntity ;
00158 
00159 
00160 
00161 /* global variable declarations*/   
00162 
00163 /* function prototype declarations */
00164 
00165 
00166 #ifdef __cplusplus 
00167 } 
00168 #endif /* __cplusplus */ 
00169 
00170 #endif /* _minosDaq_H */
00171 
00172 
00173 
00174 
00175 
00176 

Generated on Mon Nov 23 05:27:24 2009 for loon by  doxygen 1.3.9.1