source: MML/trunk/machine/SOLEIL/StorageRing/diagnostics/fofb_init_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: 476 bytes
Line 
1function fofb_init_CC(bpm,id,time_frame_lenght,MGT_powerdown,MGT_loopback,buf_clr_dly,Golden_X,Golden_Z)
2CC_cfg=0;
3fai_cfg_reg=2048*4;
4ack_rise=int32([fai_cfg_reg 4 1 9]);
5ack_fall=int32([fai_cfg_reg 4 1 8]);
6
7
8conf_array=int32([CC_cfg 4 7 id time_frame_lenght MGT_powerdown MGT_loopback buf_clr_dly,Golden_X,Golden_Z]);
9tango_command_inout2(bpm,'WriteFAData',conf_array)
10tango_command_inout2(bpm,'WriteFAData',ack_rise)
11tango_command_inout2(bpm,'WriteFAData',ack_fall)
12     
Note: See TracBrowser for help on using the repository browser.