Engee documentation

Running models on target hardware

Target Hardware — this is the mode in which the model Engee it is executed on connected (target) hardware instead of the mathematical core. Engee.

Preparation

  1. Install the subsystem Engee.Integrations:

    engee.package.install("Engee-Device-Manager")

    If the subsystem is Engee.Integration has already been installed, then just run it with the command:

    engee.package.start("Engee-Device-Manager")
  2. Launch the Engee client program.Integration on your computer to which the hardware is connected, and connect using the provided URL (for more information, see Hardware connection).

Setting up and launching the model

  1. Open the model Engee.

  2. Click on the target platform selection button and select Target Hardware:

    target hardware 1

  3. Add the EDM-Target block from block libraries on canvas Engee. If the block is missing from the library, update the hardware support package with the command engee.package.start. Each equipment has its own block, and depending on the block added to the canvas, the corresponding equipment will be launched. For example, for the RITM:

    target hardware 2

  4. Select the model execution mode:

    • Run the model on hardware target hardware 4 — interactive execution on the target platform with management and supervision from Engee.

    • Run in independent mode target hardware 3 — offline execution on the target platform without control from Engee.

  5. Click Run the model on hardware or Run in independent mode (for offline launch).

    Read more about the execution modes of the model below in the Execution modes section.

If the EDM-Target block is not placed in the model, an error will be displayed at startup:

ErrorException("EDM-Target block not found. To start model in Target Hardware mode, the model must include an EDM-Target block.")

Execution modes

Behavior of modes Target Hardware similar to the model execution modes on KPM «RITM» (for a detailed description, see Model execution modes).

Interactive mode

How to launch

click «Run the model on hardware target hardware 4»:

ritm interactive

How to manage the model

You can start/stop/set the simulation time and compile the model.

What happens

An interactive real-time application is generated and runs on the target hardware. You can track the execution of the model in Engee, in the window signal visualization graphs icon 1 and in data inspector data inspector icon.

What you can do in the mode

manage the model, change the parameters «on the fly», record the signals and view them.

Independent mode

How to launch

click «Run in independent mode» target hardware 3:

target hardware 5

How to manage the model

by means of a specific platform (web panel, utilities, etc.).

What happens

an autonomous real-time application is generated and launched on the target platform regardless of Engee. The execution of the model is visible on the display/web panel/logs of the target platform.

What can be done in the mode

the model operates on the target platform outside Engee.