source: MML/trunk/machine/SOLEIL/common/synchro/synchro_table.m @ 17

Last change on this file since 17 was 17, checked in by zhangj, 10 years ago

To have a stable version on the server.

  • Property svn:executable set to *
File size: 500 bytes
Line 
1%tango_command_inout('ANS/SY/CENTRAL','FireSoftEvent');
2
3temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
4offset=temp.value(1)*52;
5
6bunch=[1 105 209 313];
7[dtour,dpaquet]=bucketnumber(bunch);
8dtour
9table=int32([length(bunch) dtour dpaquet]);
10tango_command_inout('ANS/SY/CENTRAL','SetTables',table)
11temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth');
12n=temp.value;
13temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable');
14temp.value(1:n)-offset
Note: See TracBrowser for help on using the repository browser.