include chip_def.tcs const nchips = 1; const nwords = 3; const oase_mode = 1; include main.tcs // read the status of all chips read 127, 0x0A04 // later in the other script //pretrigger 5 write fpga2, 0x4008, 5 //wait 10; //pretrigger 1 // exclude and parity bits write fpga2, 0x4410, 0x79 | (oase_mode << 8); // start the events include event.tcs include event.tcs include event.tcs