Tutorial Sending Data

Tutorial Sending Data

Scope
Create a new model from scratch
Add a data class
Create a new protocol
Create MrPing and MrPong Actors
Define Actor Structure and Behavior
Define the top level
Generate and run the model
Summary

Scope

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.

You will perform the following steps:

  1. create a new model from scratch

  2. create a data class

  3. define a protocol with attached data

  4. create an actor structure

  5. create two simple state machines

  6. build and run the model