Step 3: How to Load and Start an RTT Demo Application

Objective

In this step, you will learn how to use ControlDesk to load and start a simulation application on your simulation platform.


Basics

Simulation application

A running simulation application is mandatory for Real-Time Testing. You can execute RTT sequences only interleaved to a simulation application. To download a simulation application to a simulation platform, you require a dSPACE product with Platform Manager, for example, ControlDesk. It is not possible to download a simulation application with the Real-Time Test Manager.

Demo files for ControlDesk

You can use ControlDesk to load and start a simulation application on a simulation platform. The required files are included in the ready-to-use demos:

File

Description

TurnSignal_<platform>.CDP

ControlDesk project file, which contains links to all experiments and documents related to the project.

turnlamp.CDE

ControlDesk experiment file, which contains links to all documents related to the experiment.

turnlamp.slx

Simulink model file.

turnlamp.sdf

Folder, which contains the simulation application and the variable description.

turnlamp.lay

Layout file for ControlDesk to visualize the simulation application.

Parts

This step is divided into the following parts:

  1. To open a project in ControlDesk, refer to Part 1.

  2. To load and start a simulation application on your simulation platform, refer to Part 2.

  3. To experiment with the simulation application in ControlDesk, refer to Part 3.


Preconditions

ControlDesk must be installed for managing and controlling the simulation application.


Part 1: To open a project in ControlDesk

  1. Start ControlDesk. On the Start menu, select dSPACE ControlDesk <product version> – dSPACE ControlDesk <product version>.

    ControlDesk opens.

  2. On the File ribbon, click Open – Project + Experiment from Backup.

    The Open dialog opens.

  3. Navigate to your RTT Documents folder and select the file: …\SampleExperiments\TurnSignal_<your platform>\TurnSignal_<your platform>.ZIP.

  4. Click Open.

    ControlDesk opens the TurnSignal_<your platform> project with the turnlamp experiment.


Interim result

You have opened the RTT demo project in ControlDesk. Continue with the next part to load and start the simulation application.


Part 2: To load and start an RTT simulation application

  1. On the Home ribbon, click Status Control – Go Online.

    ControlDesk connects itself to the registered platform and the simulation application is loaded to the platform. The loaded application starts automatically.

  2. Check the Online status in the ControlDesk status bar and in the Platforms/Devices pane.


Interim result

You have loaded and started an RTT simulation application on your simulation platform. Continue with the next part to experiment with the simulation application.


Part 3: To experiment with the demo application

  1. On the Home ribbon, click Status Control – Start Measuring.

    ControlDesk starts measuring. The status bar becomes blue.

  2. Switch on the Warning Light Switch.

    The warning light starts flashing.

  3. You can compare your results with the following animated graphic:


Result

  • You have connected ControlDesk to the simulation platform.

  • You have loaded a simulation application to the simulation platform.

  • You have started the simulation application on the simulation platform.

  • You have started a measurement in ControlDesk.

  • You have experimented with the simulation application.


What’s next

With this step, you finished the required preparations to start with the Real-Time Testing Tutorial.


Redaction