dualTriggers.cxx

00001 {
00002 // Dual triggers... two sets of modules, 
00003 // one gets a trigger fixed time after the other
00004 TScanDef dual;
00005 
00006 dual.trigsPerBurst = 10;
00007 dual.configure(9, 128, 0, -1);
00008 dual.configure2(9, 0, 128, 1);
00009 // dual.configure(9, 121, 120, -1);
00010 // dual.configure2(9, 12, 13, 1);
00011 dual.trigSequence.singleL1A();
00012 dual.trigSequence2.delayedL1A(10);
00013 
00014 // dual.full = 0;
00015 dual.bits32 = 1;
00016 // dual.loopCalLine = 0;
00017 dual.distSlave = 1;
00018 dual.debug = 0;
00019 // nmask.tim = 0;
00020 
00021 // tapi.setDebugOption("scan_error_trap_all");
00022 // tapi.setDebugOption("scan_step_mode");
00023 
00024 tapi.modifyABCDVar(11, 1.0);
00025 tapi.modifyABCDVar(13, 0.0);
00026 tapi.modifyABCDVar(14, 1.0);     // Send mask bit
00027 tapi.doScan(dual);
00028 tapi.awaitScan();
00029 }

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