struct Ariel { int nChannels; int initChannel; int lastChannel; int trig_chn; long datalen; float time; float triggerLevel; float totalRate; float pretrigger; float base; int initSaveChannel; int lastSaveChannel; int usPerChannel; float factor; int iOffset; float scaling[16]; float offset[16]; int gainIndex; // PGL: 1=1x, 2=10x, 3=100x, 4=1000x // PGH: 1=1x, 2=2x, 3=4x, 4=4x float gain; char label[16][10]; char units[16][6]; int display[16][3]; int initPlateChannel; int unused[15]; int plateUnits; // 0=cm, 1=m, 2=in, 3=ft int plateFlags[3][4]; int plateType; // 0=none, 1=Kistler, 2=AMTI, 3=Bertek?, 4=Ariel? int plateSorM[3]; float plateEnvCnst[3]; int plateZero[4]; int nFPs; float plateDimensions[2][6]; float plateAngle; float plateXdist; float plateYdist; int free[6]; int boardType; // 0=Labmaster, 1=CES Rev.1, 2=CES Rev.3 int endRecord1; int endRecord2; }; struct ArielData{ long environment; char title[20]; char date[8]; int maxChannels; int initChannel; int lastChannel; int trigChannel; long nData; float time; float triggerLevel; float totalRate; float preTrigger; float rate; int initSavedChannel; int lastSavedChannel; int usPerChannel; int initSample; int lastSample; float defaultXrange; int curveList; long secondSave; int free[16]; }; struct ArielExt { int scope[2]; float minmax[22][2]; int free[9]; int units; //1=N, 2=kg, 3=lbs int timeConstant; int rangeXY; int rangeZ; int resetFlag; int sensitivity[6][2]; //pC/N *100 int model; //1=9861, 2=9863, 3=9865 int autocalc; //1=yes, 2=no int ranges[5]; //*10 int ampUnits; //1=pC, 2=N int scaling[6][2]; //*1000 int excitationAMTI; //*100 int gainAMTI; //*100 int free2[12]; float cofp; int flags[3]; int free3[283]; int free4[10]; }; struct Bioware { char title[80]; char filetime[14]; char filedate[14]; char patient[31]; char id[31]; char desc1[51]; char desc2[51]; float rate; float time; int nChannels; int nFPs; float width[2]; float length[2]; float a[2]; float b[2]; float Az[2]; float sensX[2]; float sensY[2]; float sensZ[2]; BOOL direction; float rangeXY[2]; float rangeZ[2]; BOOL lAux[8]; float gain[8]; char units1[10]; char label1[40]; char units2[10]; char label2[40]; char units3[10]; char label3[40]; char units4[10]; char label4[40]; char units5[10]; char label5[40]; char units6[10]; char label6[40]; char units7[10]; char label7[40]; char units8[10]; char label8[40]; };