include chip_def.tcs const oase_mode = 1; // 1 or 0 const ctrl_delay = 4; // 0..7 const data_delay = 4; // 0..7 const strb_delay = 0; // 0..7 const false_bit = 4; // 0..9 const parit_bit = 8; // 0..9 const root_flag = 1; // 1 or 0 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, (false_bit << 0) | (parit_bit << 4) | (oase_mode << 8); // start the events //include event.tcs