fullTest.cxx

00001 {
00002 TScanDef strobe;
00003 
00004 strobe.trigsPerBurst = 100;
00005 
00006 strobe.configure(1, 0, 250, 10);
00007 
00008 // strobe.bits32 = 0;
00009 strobe.full = 1;
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, 1);     // Compression mode 1
00017 tapi.modifyABCDVar(13, 0);     // Edge detect
00018 tapi.modifyABCDVar( 2, 4);    // 4.00 fC input charge
00019 tapi.modifyABCDVar(14, 0);     // Make sure mask bit not set
00020 
00021 tapi.doScan(strobe);
00022 tapi.awaitScan();
00023 
00024 // for(int f=0; f<8; f++) writeRegister(f+8, 0, 12, 0);
00025 }

Generated on Mon Feb 6 14:01:20 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6