const fpga2 = 1; const dut = 2; const ni0 = 3; const ni1 = 4; const ni2 = 5; const ni3 = 6; 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 // clear the ni-input in FPGA write fpga2, 0x4480, 0 // exclude and parity bits write fpga2, 0x4410, 0x79 // pretrigger write fpga2, 0x4008, 1 wait 50; // clear write fpga2, 0x4008, 2 readseq fpga2, 0x4800, 1*64*4+4;