Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: d9f127ec61f76d4a8c9536dddc767a287bd9db9b (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
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Create a new model from scratch</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="TutorialSendingData.html" title="Tutorial Sending Data">
<link rel="prev" href="TutorialSendingData.html" title="Tutorial Sending Data">
<link rel="next" href="Addadataclass.html" title="Add a data class">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<h1 xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0">Create a new model from scratch</h1>
<div class="section" title="Create a new model from scratch">
<div class="titlepage">
<div>
<div>
<h2 class="title" style="clear: both">
<a name="Createanewmodelfromscratch3"></a>Create a new model from scratch</h2>
</div>
</div>
</div>
<p>Remember exercise 
				[<span class="citation">HelloWorld</span>].
				Create a new eTrice project and name it 
				[<span class="citation">SendingData</span>]
				Open the 
				[<span class="citation">SendingData.room</span>] file and copy the following code into the file or use content assist to create the model.
			</p>
<div class="literallayout">
<p>
<code class="code">RoomModel&nbsp;SendingData&nbsp;{<br>
		LogicalSystem&nbsp;SendingData_LogSystem&nbsp;{<br>
			SubSystemRef&nbsp;SendingDataAppl:SendingData_SubSystem&nbsp;<br>
		}<br>
		SubSystemClass&nbsp;SendingData_SubSystem&nbsp;{<br>
			ActorRef&nbsp;SendigDataTopRef:SendingDataTop&nbsp;<br>
		}<br>
		ActorClass&nbsp;SendingDataTop&nbsp;{<br>
		}<br>
	}<br>

</code>
</p>
</div>
<div class="blockquote">
<blockquote class="blockquote">
<p></p>
</blockquote>
</div>
</div>
</body>
</html>

Back to the top