00001 { 00002 TScanDef pipe; 00003 pipe.trigsPerBurst = 100; 00004 00005 //pipe.configure(0, 140, 151, 1); // old dsp code 00006 pipe.configure(25, 140, 151, 1); // new dsp code - ST_TRIG_DELAY1 00007 00008 pipe.trigSequence.softPulseL1A(140, 129); 00009 00010 pipe.trigSequence.incCmd = 1; // old dsp code (should not break new) 00011 pipe.trigSequence.incData = 1; // old dsp code (should not break new) 00012 00013 tapi.modifyABCDVar(11, 1.0); 00014 tapi.modifyABCDVar(13, 0.0); 00015 tapi.modifyABCDVar(14, 0.0); // Not send mask bit (pulse input register instead) 00016 00017 tapi.modifyABCDVar(7, 0.0); 00018 tapi.doScan(pipe); 00019 tapi.awaitScan(); 00020 00021 tapi.modifyABCDVar(7, 3.0); 00022 tapi.doScan(pipe); 00023 tapi.awaitScan(); 00024 }