00001 {
00002 TScanDef strobe;
00003
00004 strobe.trigsPerBurst = 100;
00005
00006 strobe.configure(3, 0, 63, 1);
00007
00008 // strobe.bits32 = 0;
00009 // strobe.full = 0;
00010 // strobe.distSlave = 0;
00011 strobe.loopCalLine = 1;
00012 strobe.trigSequence.calL1A(0x82);
00013
00014 tapi.modifyABCDVar( 1, 100); // Set threshold to mean of chip
00015
00016 tapi.modifyABCDVar(11, 2); // Compression mode 0
00017 tapi.modifyABCDVar(13, 1); // Edge detect on
00018 tapi.modifyABCDVar( 2, 40); // 4.00 fC input charge
00019 tapi.modifyABCDVar(14, 0); // Make sure mask bit not set
00020
00021 tapi.doScan(strobe);
00022 }
1.3.5