Step 1: How to Load an Offline Simulation Application for CAN Communication on VEOS

Objective

In this step, you will learn how to load an offline simulation application (OSA) that can be used for CAN communication on VEOS.


Basics

Simulation application

Real-Time Testing provides no ready-to-use simulation application for CAN communication. Instead, you can use a demo file provided with the VEOS installation.

Parts

This step is divided into the following parts:

  1. To copy the VEOS demo applications, refer to Part 1.

  2. To load and start an offline simulation application for CAN communication on VEOS, refer to Part 2.


Preconditions


Part 1: To copy the VEOS demo applications

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

    The VEOS Player opens.

  2. On the File ribbon, select Copy Demo Files.

    The demo files are copied to the VEOS Documents folder: %USERPROFILE%\Documents\dSPACE\VEOS\<product version>\.


Interim result

You have copied the VEOS demo files to your VEOS Documents folder. The folder contains several demos that you can use with VEOS. In one demo, CAN communication is implemented. Continue with the next part to load and start this demo on VEOS.


Part 2: To load and start a simulation application for CAN communication

  1. Open ControlDesk.

  2. In the Platforms/Devices pane, open the context menu of the simulation platform and select Offline Simulation Application – Load and Start.

    The Select Offline Simulation Application dialog opens.

  3. Navigate to the VEOS Documents folder and select the file: …\2Ecu_CanBusSimulation\AR_PosControl_2Ecus_Can.osa.

  4. Click Open.

    The offline simulation application is downloaded to VEOS. After downloading, the application is started automatically.


Result

In this step, you have learned:

  • To copy the VEOS demo applications.

  • To load and start an offline simulation application.


What’s next

In the next step, you will write an RTT sequence to transmit and receive CAN messages on VEOS using the rttlib.dscanapilib module.


Redaction