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 | |
---|
3 | temp=tango_read_attribute('ANS/SY/CENTRAL', 'ExtractionOffsetClkStepValue'); |
---|
4 | offset=temp.value(1)*52; |
---|
5 | |
---|
6 | bunch=[1 105 209 313]; |
---|
7 | [dtour,dpaquet]=bucketnumber(bunch); |
---|
8 | dtour |
---|
9 | table=int32([length(bunch) dtour dpaquet]); |
---|
10 | tango_command_inout('ANS/SY/CENTRAL','SetTables',table) |
---|
11 | temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TablesCurrentDepth'); |
---|
12 | n=temp.value; |
---|
13 | temp=tango_read_attribute2('ANS/SY/CENTRAL', 'ExtractionDelayTable'); |
---|
14 | temp.value(1:n)-offset |
---|
Note: See
TracBrowser
for help on using the repository browser.