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:
815 bytes
|
Line | |
---|
1 | % special delai septum actif boo et ans |
---|
2 | % logée l'extraction sur la crete du septa |
---|
3 | |
---|
4 | septclk=52*184/2; % = 52 tours booster : max delai sur injection |
---|
5 | % valeur de tension a basse cadence (soft) |
---|
6 | %temp=tango_read_attribute2('BOO/SY/LOCAL.Bext.1', 'sep-a.trigStepDelay'); boo=temp.value(2) |
---|
7 | %temp=tango_read_attribute2('ANS-C01/SY/LOCAL.Ainj.2', 'sep-a.trigStepDelay'); ans=temp.value(2) |
---|
8 | boo=31240305; |
---|
9 | ans=31240316; |
---|
10 | |
---|
11 | nstep=1 |
---|
12 | try |
---|
13 | tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',(boo + nstep*stepclk)); |
---|
14 | tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage', (ans + nstep*stepclk)); |
---|
15 | catch |
---|
16 | display('Erreur ajustement tension septa passif') |
---|
17 | end |
---|
18 | |
---|
19 | |
---|
20 | return |
---|
21 | % start value |
---|
22 | |
---|
23 | tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo); |
---|
24 | tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans); |
---|
Note: See
TracBrowser
for help on using the repository browser.