Getting Started
Preparation
To fully start working with the RITM CPM blocks in Engee, install the support package for the blocks by running the following command in script editor
|
After installing the support package for blocks RITM, you can use other
For a detailed description of the functions, see feature/engee-package-functions.adoc#engee.package.install. |
To start working with CPM "RITM" go to Engee
|
Example of a simple model
This example shows how to create a Engee model from scratch and run it on RITM.
-
Create a new model, add standard blocks Sine Wave, Integrator and Out1 to the model and connect them. Switch on signal recording
for output of block Integrator:
-
Select "RITM" as the target platform from the drop-down menu in the Main Menu of the model:
-
Set infinite simulation time (
inf
) and press Run the model on hardware: -
A real-time application is created from the model and loaded and run on the selected RITM machine:
-
You can stop the execution of the model on the RITM by clicking
Stop Model
in the simulation control menu. The simulation time and status are displayed in the Status bar of the model (lower right corner of the workspace):
-
During runtime, you can observe the recorded signals using graph window
. You can also change the adjustable parameters of the model on the fly during runtime and see the changes. For example, you can change the sine wave amplitude (block Sine Wave) from
1
to2
and see the changes in Graphs: