Model Settings
Before setting up the model for RITM, add the RITM machine to Engee as shown in article.
The RITM model is set up in the workspace Engee. Specify the RITM in the target platform selection window:

In settings window
a tab will appear "RITM". On it you can set the parameters of the model for the RITM:

-
Target computer for this model — Select the target machine from the list. Connection and configuration of real-time machines of the KPM "RITM" is performed in the application RITMMachine management.
-
Enable Overrun Detection — activates monitoring for exceeding the time of the calculated step of the model.
-
Action on overrun — if overflow detection is enabled, then two options are available:
-
Terminate — stops the model after a specified number of overflows. The threshold is set in the parameter Terminate model after this number of overruns (see below).
-
Notify — displays a message about the overflow of the calculation step.
-
-
Terminate model after this number of overruns — applies only when an option is selected Terminate and sets the maximum number of overflows, after which the model stops working.
-
Enable Task Execution Time calculation — activates the calculation of TET (Task Execution Time) and displays this value on the monitor, to the right of the value of Model Time:

-
If this option is disabled, the model does not transmit data on the time of the calculation step to the RITM.
-
If this option is enabled, the duration of each calculation step is monitored on the RITM.
-
-
Enable execution profiling — activates the collection of data on the execution time of each calculation step and saves them to a file
/home/ritm/build/<model name>/<model name>_profile.txtby car RITM
-
Number of profiling points to log — determines how many steps will be recorded in the file. By default, the execution time of the last
400steps.