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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2.1 - (hide annotations) (download)
Sun Oct 17 12:28:41 2004 UTC (20 years, 1 month ago) by kusanagi
Branch: MAIN
CVS Tags: Rev041203
Changes since 2.0: +2 -2 lines
File MIME type: text/plain
*** empty log message ***

1 kusanagi 2.1
2 kusanagi 1.1 struct datastruct{
3     unsigned short header;
4     unsigned short status[5];
5     unsigned short temp[8];
6 kusanagi 1.3 unsigned short DAC1[8];
7     unsigned short DAC2[8];
8 kusanagi 1.1 unsigned short regist[6];
9     unsigned short time[8];
10     unsigned short n_tr;
11     unsigned short hitmap_tr[16];
12     unsigned short curve1[4096];
13     unsigned short curve2[4096];
14 kusanagi 1.3 unsigned short iCRC;
15 kusanagi 1.1 unsigned short tail;
16     unsigned short CRC;
17     };
18    
19 kusanagi 1.3 struct datastruct calibdata;
20 kusanagi 1.1
21 kusanagi 1.3 //pointer to struct
22     struct datastruct *calibpointer;
23 kusanagi 1.1
24 kusanagi 1.3 int fd,i,j,err,found;
25     unsigned short buffer[10000];
26     unsigned short tmp1,tmp2;
27 kusanagi 2.1

  ViewVC Help
Powered by ViewVC 1.1.23