source: MML/trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_arm_CC.m @ 4

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

Initial import--MML version from SOLEIL@2013

File size: 451 bytes
Line 
1function fofb_arm_CC(groupe,time_frame_cnt_limit_value,data_selection)
2
3
4fai_cfg_reg=2048*4;
5if data_selection==1
6    reg=time_frame_cnt_limit_value*2^4+10;
7else
8    reg=time_frame_cnt_limit_value*2^4+8;
9end   
10Enable_user_fai=int32([(fai_cfg_reg) 4 1 reg]);
11Enable_Itech_fai=int32([(fai_cfg_reg+4) 4 1 1]);
12
13tango_group_command_inout2(groupe,'WriteFAData',1,Enable_user_fai)
14
15tango_group_command_inout2(groupe,'WriteFAData',1,Enable_Itech_fai)
16   
Note: See TracBrowser for help on using the repository browser.