#define NCH 32 typedef struct { unsigned int id,len; unsigned int fver,time; unsigned int nev,nch,ped,xy; int nx,x0,dx,ny,y0,dy; } RUNREC; typedef struct { unsigned int id,len; unsigned int time; } ENDREC; ENDREC endrec; typedef struct { unsigned int id,len; unsigned int time; int ix,x,xset,iy,y,yset; } POSREC; typedef struct { unsigned int id,len; float dac; float dac0; float dac1; float ddac; } DACREC; typedef struct { unsigned int id,len; unsigned int nev,neve; unsigned int data[NCH*2]; } EVTREC;