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:
848 bytes
|
Line | |
---|
1 | % special tension septum actif boo et ans |
---|
2 | |
---|
3 | % valeur de tension a basse cadence (soft) |
---|
4 | boo=99.239224886870645; |
---|
5 | ans=93.536955102247219; |
---|
6 | r=(1+0.002); % ratio |
---|
7 | try |
---|
8 | %temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');boo=temp.value(2)*r |
---|
9 | tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo*r); |
---|
10 | %temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage'); ans=temp.value(2)*r |
---|
11 | tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans*r); |
---|
12 | catch |
---|
13 | display('Erreur ajustement tension septa passif') |
---|
14 | end |
---|
15 | temp=tango_read_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage');temp.value(2) |
---|
16 | temp=tango_read_attribute2('ANS-C01/EP/AL_SEP_A','voltage'); temp.value(2) |
---|
17 | |
---|
18 | |
---|
19 | return |
---|
20 | % start value |
---|
21 | |
---|
22 | tango_write_attribute2('BOO-C12/EP/AL_SEP_A.Ext','voltage',boo); |
---|
23 | tango_write_attribute2('ANS-C01/EP/AL_SEP_A','voltage',ans); |
---|
Note: See
TracBrowser
for help on using the repository browser.