~ubuntu-branches/ubuntu/hoary/scilab/hoary

« back to all changes in this revision

Viewing changes to man/eng/scicos/EVTDLY_f.htm

  • Committer: Bazaar Package Importer
  • Author(s): Torsten Werner
  • Date: 2005-01-09 22:58:21 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20050109225821-473xr8vhgugxxx5j
Tags: 3.0-12
changed configure.in to build scilab's own malloc.o, closes: #255869

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
 
2
 
 
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 -->
 
8
<HTML>
 
9
<HEAD>
 
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">
 
15
 
 
16
<META NAME="Generator" CONTENT="LaTeX2HTML v2002-2-1">
 
17
<META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css">
 
18
 
 
19
<LINK REL="STYLESHEET" HREF="main.css">
 
20
 
 
21
</HEAD>
 
22
 
 
23
<BODY bgcolor="#FFFFFF">
 
24
 
 
25
<!--Table of Child-Links-->
 
26
<A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A>
 
27
 
 
28
<UL>
 
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>
 
41
</UL>
 
42
<!--End of Table of Child-Links-->
 
43
<HR>
 
44
 
 
45
<H2><A NAME="SECTION00555000000000000000"></A><A NAME="EVTDLY_f"></A>
 
46
<BR>
 
47
Event delay 
 
48
</H2>
 
49
<DIV ALIGN="CENTER">
 
50
<!-- MATH
 
51
 $\epsfig{file=EVTDLY_f.eps,width=90.00pt}$
 
52
 -->
 
53
<IMG
 
54
 WIDTH="143" HEIGHT="161" ALIGN="BOTTOM" BORDER="0"
 
55
 SRC="img115.gif"
 
56
 ALT="\epsfig{file=EVTDLY_f.eps,width=90.00pt}">
 
57
</DIV>
 
58
<H3><font color="blue"><A NAME="SECTION00555100000000000000">
 
59
Library</A>
 
60
</font></H3>
 
61
Events
 
62
 
 
63
<H3><font color="blue"><A NAME="SECTION00555200000000000000">
 
64
Description</A>
 
65
</font></H3>
 
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.   
 
68
 
 
69
<H3><font color="blue"><A NAME="SECTION00555300000000000000">
 
70
Dialog Box</A>
 
71
</font></H3>
 
72
<DIV ALIGN="CENTER">
 
73
<TABLE CELLPADDING=3 BORDER="1">
 
74
<TR><TD ALIGN="CENTER">Set Event Delay  block parameters</TD>
 
75
<TD></TD>
 
76
</TR>
 
77
<TR><TD ALIGN="CENTER">and the generated output event</TD>
 
78
<TD></TD>
 
79
</TR>
 
80
<TR><TD ALIGN="CENTER">Block may initially generate an output event before</TD>
 
81
<TD></TD>
 
82
</TR>
 
83
<TR><TD ALIGN="CENTER">any input event. "Date of initial output event"</TD>
 
84
<TD></TD>
 
85
</TR>
 
86
<TR><TD ALIGN="CENTER">gives the date of this event. Set a negative value</TD>
 
87
<TD></TD>
 
88
</TR>
 
89
<TR><TD ALIGN="CENTER">if no initial event required</TD>
 
90
<TD></TD>
 
91
</TR>
 
92
<TR><TD ALIGN="CENTER">Delay</TD>
 
93
<TD ALIGN="CENTER">0.1</TD>
 
94
</TR>
 
95
<TR><TD ALIGN="CENTER">Date of initial output event</TD>
 
96
<TD ALIGN="CENTER">0.1</TD>
 
97
</TR>
 
98
</TABLE>
 
99
</DIV>
 
100
 
 
101
<UL>
 
102
<LI>Delay: scalar. Time delay between input and output event. 
 
103
</LI>
 
104
<LI>Date of initial output event:scalar. If <B>Auto-exec&gt;=0 </B> block
 
105
  initially generates an output event at date<B>Auto-exec</B>.  
 
106
</LI>
 
107
</UL>
 
108
 
 
109
<H3><font color="blue"><A NAME="SECTION00555400000000000000">
 
110
Default properties</A>
 
111
</font></H3>
 
112
 
 
113
<UL>
 
114
<LI>always active: no
 
115
</LI>
 
116
<LI>direct-feedthrough: no
 
117
</LI>
 
118
<LI>zero-crossing: no
 
119
</LI>
 
120
<LI>mode: no
 
121
</LI>
 
122
<LI>number/sizes of inputs: 0 / 
 
123
</LI>
 
124
<LI>number/sizes of outputs: 0 / 
 
125
</LI>
 
126
<LI>number/sizes of activation inputs: 1 / 1
 
127
</LI>
 
128
<LI>number/sizes of activation outputs: 1 / 1
 
129
</LI>
 
130
<LI>continuous-time state: no
 
131
</LI>
 
132
<LI>discrete-time state: no
 
133
</LI>
 
134
<LI>name of computational function: <EM>evtdly</EM>
 
135
</LI>
 
136
</UL>
 
137
<H3><font color="blue"><A NAME="SECTION00555500000000000000">
 
138
Interfacing function</A>
 
139
</font></H3>
 
140
<TT>scilab/macros/scicos_blocks/events/EVTDLY_f.sci</TT>
 
141
 
 
142
<H3><font color="blue"><A NAME="SECTION00555600000000000000">
 
143
Computational function (type 0)</A>
 
144
</font></H3>
 
145
<BR>
 
146
<PRE>      subroutine evtdly(flag,nevprt,t,xd,x,nx,z,nz,tvec,ntvec,
 
147
     &amp;     rpar,nrpar,ipar,nipar,u,nu,y,ny)
 
148
c     Copyright INRIA
 
149
c     Scicos block simulator
 
150
c     event delay
 
151
c     delay=rpar(1)
 
152
c
 
153
      double precision t,xd(*),x(*),z(*),tvec(*),rpar(*),u(*),y(*)
 
154
      integer flag,nevprt,nx,nz,ntvec,nrpar,ipar(*)
 
155
      integer nipar,nu,ny
 
156
 
 
157
c
 
158
c
 
159
      if(flag.eq.3) then
 
160
         tvec(1)=t+rpar(1)
 
161
      endif
 
162
      return
 
163
      end
 
164
</PRE>
 
165
<HR>
 
166
 
 
167
<ADDRESS>
 
168
Ramine Nikoukhah
 
169
2004-06-22
 
170
</ADDRESS>
 
171
</BODY>
 
172
</HTML>