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.
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.
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.
To avoid risk of injury and/or property damage, you must note the safety precautions, refer to General Warning.
Information in this document
Describes the features of Real-Time Testing and the software and hardware requirements. Application areas are also described, and an example is given.
Some preparatory steps are required before you can start with the Real-Time Testing Tutorial.
In lesson 1, you will learn how to start with Real-Time Testing.
In lesson 2, you will learn how to use Real-Time Testing to access and interact with a simulation application.
In lesson 3, you will learn how to transfer data between the simulation platform and the host PC.
In lesson 4, you will learn how to use the TurnSignalTests demo.
In lesson 5, you will learn how to implement CAN communication with the rttlib.dscanapilib module.
In lesson 6, you will learn how to implement CAN communication with the rttlib.canlib module.
In lesson 7, you will learn how to implement Ethernet communication with the rttlib.dsethernetapilib module.