/[PAMELA software]/yoda/techmodel/forroutines/anticounter/ACcalib.h
ViewVC logotype

Diff of /yoda/techmodel/forroutines/anticounter/ACcalib.h

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

revision 1.2 by kusanagi, Sat Jul 17 20:03:42 2004 UTC revision 2.0 by kusanagi, Tue Sep 21 20:51:02 2004 UTC
# Line 1  Line 1 
   
1  struct datastruct{  struct datastruct{
2    
3    unsigned short header;    unsigned short header;
4    unsigned short status[5];    unsigned short status[5];
5    unsigned short temp[8];    unsigned short temp[8];
6    unsigned short DAC[16];          unsigned short DAC1[8];
7      unsigned short DAC2[8];
8    unsigned short regist[6];      unsigned short regist[6];  
9    unsigned short time[8];        unsigned short time[8];    
10    unsigned short n_tr;        unsigned short n_tr;    
11    unsigned short hitmap_tr[16];    unsigned short hitmap_tr[16];
12    unsigned short curve1[4096];        unsigned short curve1[4096];    
13    unsigned short curve2[4096];            unsigned short curve2[4096];        
14    unsigned short iCRC;        unsigned short iCRC;
15    unsigned short tail;    unsigned short tail;
16    unsigned short CRC;    unsigned short CRC;
17    
18  };  };
19    
20    struct datastruct calibdata;
21    
22    //pointer to struct
23    struct datastruct *calibpointer;
24    
25    int fd,i,j,err,found;
26    unsigned short buffer[10000];
27    unsigned short tmp1,tmp2;

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

  ViewVC Help
Powered by ViewVC 1.1.23