/[PAMELA software]/rawreader/inc/flag.h
ViewVC logotype

Diff of /rawreader/inc/flag.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by cafagna, Fri Sep 1 10:56:22 2006 UTC revision 1.2 by cafagna, Sun Dec 10 12:21:13 2006 UTC
# Line 1  Line 1 
1    #define CODE1 0xFF           //VRL
2    #define CODE2 0x46           //kadr
3    #define CODE3 0xD5           //header
4    
5    #define CODE_BYTE1 0xFA      //PAMELA
6    #define CODE_BYTE2 0xFE      //packet
7    #define CODE_BYTE3 0xDE      //header
8    
9    #define NumberPack (int)(53) //Number of PAMELA packets
10    
11    #define copy(x) ((x)>0 ? "cp" : "copy")
12    #define dir(y) ((y)>0 ? "mkdir" : "md")
13    
14    #define Nmax (int)(1.*powf(10.,8.))//maximum allowable size of buffer, in bytes
15    
16    #define Limit (int)(1.*powf(10.,5.))//maximum size of PAMELA packet, in bytes
17    
18  #define GLOBAL_LEN_ER 1           //Flag to account for length error in PAMELA packets  #define GLOBAL_LEN_ER 1           //Flag to account for length error in PAMELA packets
19  #define VRL_HEADER    1           //Flag to account for VRL headers  #define VRL_HEADER    1           //Flag to account for VRL headers
 #define LINUX_flag    1           //Flag to switch from Windows to LINUX  

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.23