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:
498 bytes
|
Line | |
---|
1 | |
---|
2 | for k =1:1000, |
---|
3 | LifeTime = measlifetime(60,'Display'); |
---|
4 | if getdcct < 0.1 |
---|
5 | disp('Inject first'); |
---|
6 | tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(0,4) ' h']); |
---|
7 | else |
---|
8 | tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(LifeTime,4) ' h']); |
---|
9 | tango_write_attribute2('ANS/DG/PUB-LifeTime','double_scalar',LifeTime); |
---|
10 | end |
---|
11 | |
---|
12 | |
---|
13 | end |
---|
14 | tango_write_attribute2('ANS/DG/PUB-LifeTime','string_scalar',[num2str(-1,4) ' h']); |
---|
15 | |
---|
16 | |
---|
Note: See
TracBrowser
for help on using the repository browser.