Subsections


Event variable delay

\epsfig{file=EVTVARDLY.eps,width=90.00pt}

Library

Events

Description

Similar to an event delay but the delay time is read on the regular input port.

Dialog Box

Set parameter of variable event delay
Initial event firing time ($ <$0 if absent) -1

Default properties

Interfacing function

scilab/macros/scicos_blocks/events/EVTVARDLY.sci

Computational function (type 4)


#include "scicos_block.h"
#include <math.h>

void evtvardly(scicos_block *block,int flag)
{ 
  if (flag==3){
    block->evout[0]=block->inptr[0][0];
  }
}


Ramine Nikoukhah 2004-06-22