0001
0002
0003 temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
0004 offset=temp.value(1)*52;
0005
0006 bunch=[1 105 209 313];
0007 [dtour,dpaquet]=bucketnumber(bunch);
0008 dtour
0009 table=int32([length(bunch) dtour dpaquet]);
0010 tango_command_inout('ANS/SY/CENTRAL','SetTables',table)
0011 temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
0012 n=temp.value;
0013 temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
0014 temp.value(1:n)-offset