Tutorial

Content

This tutorial gives you step-by-step instructions for building your own Real-Time Test Sequences and how you can implement these sequences in your simulation applications.


Required knowledge

Knowledge in handling the host PC and the Microsoft Windows operating system is assumed. This document is primarily targeted at engineers who have experience with the Python programming language.


dSPACE Help

This documentation is available in PDF format and as part of dSPACE Help. It is recommended to use dSPACE Help.

Working through the tutorial in dSPACE Help has the following advantages:

  • You can use the copy button to copy source code, which maintains all indentations unlike using Ctrl + C and Ctrl + V.

  • You can watch the animated graphics.


Safety precautions

To avoid risk of injury and/or property damage, you must note the safety precautions, refer to General Warning.


Where to go from here

Information in this document

Introduction to Real-Time Testing

Describes the features of Real-Time Testing and the software and hardware requirements. Application areas are also described, and an example is given.

Preparatory Steps to Work with the Real-Time Testing Tutorial

Some preparatory steps are required before you can start with the Real-Time Testing Tutorial.

Lesson 1: Starting with Real-Time Testing

In lesson 1, you will learn how to start with Real-Time Testing.

Lesson 2: Interactions of Real-Time Testing and Simulation Applications

In lesson 2, you will learn how to use Real-Time Testing to access and interact with a simulation application.

Lesson 3: Data Transfer and Logging

In lesson 3, you will learn how to transfer data between the simulation platform and the host PC.

Lesson 4: Experimenting with a Realistic Use Case

In lesson 4, you will learn how to use the TurnSignalTests demo.

Lesson 5: Implementing CAN Communication with the rttlib.dscanapilib Module

In lesson 5, you will learn how to implement CAN communication with the rttlib.dscanapilib module.

Lesson 6: Implementing CAN Communication with the rttlib.canlib Module

In lesson 6, you will learn how to implement CAN communication with the rttlib.canlib module.

Lesson 7: Implementing Ethernet Communication with the rttlib.dsethernetapilib Module

In lesson 7, you will learn how to implement Ethernet communication with the rttlib.dsethernetapilib module.


Redaction