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