blob: c37d160b92fe2299a545c17fb9dce284b740c105 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
|
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Tutorial Sending Data</title>
<link href="book.css" rel="stylesheet" type="text/css">
<meta content="DocBook XSL Stylesheets V1.75.1" name="generator">
<link rel="home" href="index.html" title="eTrice User Guide">
<link rel="up" href="index.html" title="eTrice User Guide">
<link rel="prev" href="Summary2.html" title="Summary">
<link rel="next" href="Createanewmodelfromscratch3.html" title="Create a new model from scratch">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Tutorial Sending Data</h1>
<div class="chapter" title="Tutorial Sending Data">
<div class="titlepage">
<div>
<div>
<h2 class="title">
<a name="TutorialSendingData"></a>Tutorial Sending Data</h2>
</div>
</div>
</div>
<div class="toc">
<dl>
<dt>
<span class="section"><a href="TutorialSendingData.html#Scope3">Scope</a></span>
</dt>
<dt>
<span class="section"><a href="Createanewmodelfromscratch3.html">Create a new model from scratch</a></span>
</dt>
<dt>
<span class="section"><a href="Addadataclass.html">Add a data class</a></span>
</dt>
<dt>
<span class="section"><a href="Createanewprotocol2.html">Create a new protocol</a></span>
</dt>
<dt>
<span class="section"><a href="CreateMrPingandMrPongActors.html">Create MrPing and MrPong Actors</a></span>
</dt>
<dt>
<span class="section"><a href="DefineActorStructureandBehavior.html">Define Actor Structure and Behavior</a></span>
</dt>
<dt>
<span class="section"><a href="Definethetoplevel.html">Define the top level</a></span>
</dt>
<dt>
<span class="section"><a href="Generateandrunthemodel.html">Generate and run the model</a></span>
</dt>
<dt>
<span class="section"><a href="Summary3.html">Summary</a></span>
</dt>
</dl>
</div>
<div class="section" title="Scope">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="Scope3"></a>Scope</h2>
</div>
</div>
</div>
<p>This tutorial shows how data will be sent in a eTrice model. Within the example you will create two actors (MrPing and MrPong). MrPong will simply loop back every data it received.
MrPing will send data and verify the result. </p>
<p>You will perform the following steps:</p>
<div class="orderedlist">
<ol class="orderedlist" type="1">
<li class="listitem">
<p>create a new model from scratch</p>
</li>
<li class="listitem">
<p>create a data class</p>
</li>
<li class="listitem">
<p>define a protocol with attached data</p>
</li>
<li class="listitem">
<p>create an actor structure</p>
</li>
<li class="listitem">
<p>create two simple state machines</p>
</li>
<li class="listitem">
<p>build and run the model</p>
</li>
</ol>
</div>
</div>
</div>
</body>
</html>
|