Home > machine > Soleil > common > synchro > EP_rafale.m

EP_rafale

PURPOSE ^

mode rafale test EP

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

 mode rafale test EP

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 % mode rafale test EP
0002 %
0003 burst=5 ;     % nb de coup rafale
0004 boucle=1 ;  % nb de rafale
0005 delai=3 ;      % delai entre rafale (s)
0006 
0007 % Set table to one value
0008 bunch=[1];
0009 [dtour,dpaquet]=bucketnumber(bunch);
0010 table=int32([length(bunch) dtour dpaquet]);
0011 tango_command_inout('ANS/SY/CENTRAL','SetTables',table);
0012 
0013 
0014 % Profondeur rafale
0015 tango_write_attribute2('ANS/SY/CENTRAL', 'burstSize',int32(burst));
0016 
0017 
0018 
0019 % boucle
0020 for i=1:boucle
0021     i
0022     tango_command_inout2('ANS/SY/CENTRAL','FireBurstEvent');
0023     pause(delai)
0024 end
0025 
0026 
0027     
0028

Generated on Fri 23-Jul-2010 00:42:07 by m2html © 2005