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
|
To start working with 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 Function, Integrator and Out1 to the model and connect them. Switch on signal recording
for the output of the block Integrator:
-
Select "RITM" as the target platform from the drop-down menu in the Main Menu of the model:
-
Set an infinite simulation time (
inf
) and press the button Run the model on hardware: -
A real-time application is created from the model, which is 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 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 Function) from
1
to2
and observe the changes in Graphs: