source: MML/trunk/machine/SOLEIL/common/synchro/load_table.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 11 years ago

Initial import--MML version from SOLEIL@2013

File size: 387 bytes
Line 
1% test load table synchro
2
3temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue');
4offset_ext=temp.value(1)*52;
5offset_linac=10*0.5;  % délai fin de réglage en pas de 100 ps
6
7paq=3;
8bunch=1:1;
9
10[dtour,dpaquet]=bucketnumber(bunch);
11dpaquet=dpaquet*28+offset_linac;
12table=int32([length(bunch) dtour dpaquet]);
13tango_command_inout2('ANS/SY/CENTRAL','SetTables',table)
Note: See TracBrowser for help on using the repository browser.