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