1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
3
<!--Converted with LaTeX2HTML 2002-2-1 (1.70)
4
original version by: Nikos Drakos, CBLU, University of Leeds
5
* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan
6
* with significant contributions from:
7
Jens Lippmann, Marek Rouchal, Martin Wilck and others -->
10
<TITLE>Event delay </TITLE>
11
<META NAME="description" CONTENT="Event delay ">
12
<META NAME="keywords" CONTENT="main">
13
<META NAME="resource-type" CONTENT="document">
14
<META NAME="distribution" CONTENT="global">
16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
19
<LINK REL="STYLESHEET" HREF="main.css">
23
<BODY bgcolor="#FFFFFF">
25
<!--Table of Child-Links-->
26
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
29
<LI><A NAME="tex2html4270"
30
HREF="EVTDLY_f.htm#SECTION00555100000000000000">Library</A>
31
<LI><A NAME="tex2html4271"
32
HREF="EVTDLY_f.htm#SECTION00555200000000000000">Description</A>
33
<LI><A NAME="tex2html4272"
34
HREF="EVTDLY_f.htm#SECTION00555300000000000000">Dialog Box</A>
35
<LI><A NAME="tex2html4273"
36
HREF="EVTDLY_f.htm#SECTION00555400000000000000">Default properties</A>
37
<LI><A NAME="tex2html4274"
38
HREF="EVTDLY_f.htm#SECTION00555500000000000000">Interfacing function</A>
39
<LI><A NAME="tex2html4275"
40
HREF="EVTDLY_f.htm#SECTION00555600000000000000">Computational function (type 0)</A>
42
<!--End of Table of Child-Links-->
45
<H2><A NAME="SECTION00555000000000000000"></A><A NAME="EVTDLY_f"></A>
51
$\epsfig{file=EVTDLY_f.eps,width=90.00pt}$
54
WIDTH="143" HEIGHT="161" ALIGN="BOTTOM" BORDER="0"
56
ALT="\epsfig{file=EVTDLY_f.eps,width=90.00pt}">
58
<H3><font color="blue"><A NAME="SECTION00555100000000000000">
63
<H3><font color="blue"><A NAME="SECTION00555200000000000000">
66
One event is generated <B>Delay</B> after an event enters the unique
67
input event port. Block may also generate an initial output event.
69
<H3><font color="blue"><A NAME="SECTION00555300000000000000">
73
<TABLE CELLPADDING=3 BORDER="1">
74
<TR><TD ALIGN="CENTER">Set Event Delay block parameters</TD>
77
<TR><TD ALIGN="CENTER">and the generated output event</TD>
80
<TR><TD ALIGN="CENTER">Block may initially generate an output event before</TD>
83
<TR><TD ALIGN="CENTER">any input event. "Date of initial output event"</TD>
86
<TR><TD ALIGN="CENTER">gives the date of this event. Set a negative value</TD>
89
<TR><TD ALIGN="CENTER">if no initial event required</TD>
92
<TR><TD ALIGN="CENTER">Delay</TD>
93
<TD ALIGN="CENTER">0.1</TD>
95
<TR><TD ALIGN="CENTER">Date of initial output event</TD>
96
<TD ALIGN="CENTER">0.1</TD>
102
<LI>Delay: scalar. Time delay between input and output event.
104
<LI>Date of initial output event:scalar. If <B>Auto-exec>=0 </B> block
105
initially generates an output event at date<B>Auto-exec</B>.
109
<H3><font color="blue"><A NAME="SECTION00555400000000000000">
110
Default properties</A>
114
<LI>always active: no
116
<LI>direct-feedthrough: no
118
<LI>zero-crossing: no
122
<LI>number/sizes of inputs: 0 /
124
<LI>number/sizes of outputs: 0 /
126
<LI>number/sizes of activation inputs: 1 / 1
128
<LI>number/sizes of activation outputs: 1 / 1
130
<LI>continuous-time state: no
132
<LI>discrete-time state: no
134
<LI>name of computational function: <EM>evtdly</EM>
137
<H3><font color="blue"><A NAME="SECTION00555500000000000000">
138
Interfacing function</A>
140
<TT>scilab/macros/scicos_blocks/events/EVTDLY_f.sci</TT>
142
<H3><font color="blue"><A NAME="SECTION00555600000000000000">
143
Computational function (type 0)</A>
146
<PRE> subroutine evtdly(flag,nevprt,t,xd,x,nx,z,nz,tvec,ntvec,
147
& rpar,nrpar,ipar,nipar,u,nu,y,ny)
149
c Scicos block simulator
153
double precision t,xd(*),x(*),z(*),tvec(*),rpar(*),u(*),y(*)
154
integer flag,nevprt,nx,nz,ntvec,nrpar,ipar(*)