source: MML/trunk/machine/SOLEIL/common/synchro/fix_quart.m @ 17

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: 317 bytes
Line 
1function [clk_pc,clk_soft]=fix_quart
2% fix premier quart
3
4n=1;
5temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TPcStepDelay');
6clk1=temp.value(n);
7temp=tango_read_attribute2('ANS/SY/CENTRAL', 'TSoftStepDelay');
8clk2=temp.value(n);
9
10jump=int32([0 39 26 13]);
11clk_pc  =jump +  int32(clk1);
12clk_soft=jump  + int32(clk2);
13
Note: See TracBrowser for help on using the repository browser.