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:
626 bytes
|
Line | |
---|
1 | function [Comm_delay,Link_partners]=fofb_read_LP_Delay(groupe) |
---|
2 | |
---|
3 | |
---|
4 | |
---|
5 | CC_status=768*4; |
---|
6 | LP1=CC_status+2*4 |
---|
7 | |
---|
8 | read_array=int32([CC_status,4,256]); |
---|
9 | |
---|
10 | result=(tango_group_command_inout2(groupe,'ReadFAData',1,read_array)); |
---|
11 | for i=1:1:120 |
---|
12 | BPM_index(i)=i; |
---|
13 | Delay(i)=result.replies(mod(i,120)+1).data(29); |
---|
14 | involved(i)=result.replies(mod(i,120)+1).data(30); |
---|
15 | for j=1:1:3 |
---|
16 | LP_array(i,j)=result.replies(mod(i,120)+1).data(j+2); |
---|
17 | end |
---|
18 | end |
---|
19 | |
---|
20 | Full_array=[BPM_index' Delay' involved' LP_array]; |
---|
21 | sorted_array=sortrows(Full_array,2); |
---|
22 | |
---|
23 | disp('BPMindex seen Com_dly LP1 LP2 LP3') |
---|
24 | disp(sorted_array) |
---|
Note: See
TracBrowser
for help on using the repository browser.