Python-based test automation – 100% reproducible real-time tests executed synchronously with simulation model
This website provides a link list for fast access to the most important support information for test automation software
Real-time hardware can be accessed via an interpreter running on the processor board. Since the interpreter is executed at the same rate as the realtime application, it can be used to perform real-time tests. This training course provides an introduction to programming real-time tests based on the Python programming language. Course participants will discuss standard applications and implement them in practical examples.
1) Except DS1104.
Automated testing is usually performed by executing tests on a standard PC connected to the hardware-in-the-loop (HIL) system. However, this method often cannot cope where greater timing precision is required – for example, if ECU interaction has to be captured and responded to in a range of milliseconds. Real-Time Testing with its Python scripts for real-time testing is the answer.
The scripts run on the simulation platform, e.g., a dSPACE HIL system. They run synchronously with the model, so all test actions are performed on a real-time basis – 100% reproducibly. This opens up expanded test options with dSPACE Simulator. Reactive tests which respond to changes in model variables within the same simulation step can be implemented. Time measurements in tests are also far more precise, as there are no latencies in communication. Simulation step size is now the only limit to the maximum time resolution of measurements. Real-time test scripts do not only run on HIL systems but also on VEOS, dSPACE's platform for PC-based offline simulation. Therefore, you can reuse the test scripts seamlessly throughout the entire development process – from virtual validation to HIL simulation.
Functionality | Description |
---|---|
Real-time testing |
|
100% reproducible real-time tests in Python |
|
Key features |
1) Except DS1104. |
Drive innovation forward. Always on the pulse of technology development.
Subscribe to our expert knowledge. Learn from our successful project examples. Keep up to date on simulation and validation. Subscribe to/manage dSPACE direct and aerospace & defense now.