Last change
on this file was
17,
checked in by zhangj, 10 years ago
|
To have a stable version on the server.
|
-
Property svn:executable set to
*
|
File size:
493 bytes
|
Line | |
---|
1 | function DCCT_speed |
---|
2 | % Mesure vitesse de lecture DCCT |
---|
3 | |
---|
4 | temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur0=temp.value; |
---|
5 | pause(0.2) |
---|
6 | |
---|
7 | dt=0.05 ; % en seconde |
---|
8 | tt=1:60; |
---|
9 | anscur=[]; |
---|
10 | %tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent'); |
---|
11 | tic |
---|
12 | for t=tt |
---|
13 | pause(dt) |
---|
14 | temp=tango_read_attribute2('ANS-C03/DG/DCCT','current'); |
---|
15 | anscur=[anscur temp.value]; |
---|
16 | anscur1=anscur - anscur0; |
---|
17 | end |
---|
18 | toc |
---|
19 | plot(tt*dt,anscur1,'-ob');grid on |
---|
20 | xlabel('Time (s)');ylabel('Current (A)') |
---|
21 | |
---|
22 | |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.