source: MML/trunk/machine/SOLEIL/common/synchro/DCCT_speed.m

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 
1function DCCT_speed
2% Mesure vitesse de lecture DCCT
3
4temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');anscur0=temp.value;
5pause(0.2)
6
7dt=0.05 ;  % en seconde
8tt=1:60;
9anscur=[];
10%tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
11tic
12for t=tt
13    pause(dt)
14    temp=tango_read_attribute2('ANS-C03/DG/DCCT','current');
15    anscur=[anscur temp.value];
16    anscur1=anscur - anscur0;
17end
18toc
19plot(tt*dt,anscur1,'-ob');grid on
20xlabel('Time (s)');ylabel('Current (A)')
21   
22     
23   
Note: See TracBrowser for help on using the repository browser.