00001 TScanMonitor *testAsyncScan() { 00002 // Assumes tapi.changeRunMode(0) executed before hand 00003 00004 TScanDef noise; 00005 00006 noise.trigsPerBurst = 5000; 00007 00008 noise.configure(0, 1, 10, 1); 00009 // noise.trigSequence.singleL1A(); 00010 // synch.full = 0; 00011 noise.bits32 = 1; 00012 // synch.loopCalLine = 0; 00013 noise.distSlave = 0; 00014 // synch.debug = 0; 00015 noise.tim = 1; 00016 noise.nth = 15; 00017 noise.ope = 1; 00018 00019 TScanMonitor *monitor = tapi.startAsyncScan(noise); 00020 00021 // histoStatus(-1); 00022 00023 return monitor; 00024 00025 // Eventually, monitor->finishScan(); 00026 }