Control Desk Electrical Error Simulation
Control Desk Electrical Error Simulation
To access the Web version of this document, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/EkTEQ
To access the Web version, you must have a mydSPACE account. For more information on the
mydSPACE registration process, refer to https://www.dspace.com/faq?097.
How to Contact dSPACE
Mail: dSPACE GmbH
Rathenaustraße 26
33102 Paderborn
Germany
Tel.: +49 5251 1638-0
E-mail: [email protected]
Web: https://www.dspace.com
If possible, always provide the serial number of the hardware, the relevant dSPACE License
ID, or the serial number of the CmContainer in your support request.
Important Notice
This publication contains proprietary information that is protected by copyright. All rights
are reserved. The publication may be printed for personal or internal use provided all the
proprietary markings are retained on all printed copies. In all other cases, the publication
must not be copied, photocopied, reproduced, translated, or reduced to any electronic
medium or machine-readable form, in whole or in part, without the prior written consent
of dSPACE GmbH.
This publication and the contents hereof are subject to change without notice.
Contents
New Features 11
New Electrical Error Simulation Features (ControlDesk 2023‑B)...................... 11
New Electrical Error Simulation Features (ControlDesk 7.6)............................ 11
3
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Contents
Reference Information 83
Electrical Error Simulation Descriptions....................................................... ............ 84
EESPort......................................................................................................... 84
Error.............................................................................................................. 86
Error Configuration....................................................................................... 87
Error Set........................................................................................................ 89
Signal............................................................................................................ 91
4
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Contents
Automation 157
Programming ControlDesk Automation................................................................ 158
Automating Electrical Error Simulation via XIL API EESPort........................... 158
5
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Contents
Troubleshooting 163
Problem with Fault Simulation on SCALEXIO HighFlex and
MultiCompact Hardware............................................................................. 163
Limitations 165
Limitations for Electrical Error Simulation via XIL API EESPort........................ 165
Glossary 167
Index 205
6
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
About This Document
Content This document introduces you to electrical error simulation via XIL API EESPort
with ControlDesk.
Symbol Description
Indicates a hazardous situation that, if not avoided,
V DANGER
will result in death or serious injury.
Indicates a hazardous situation that, if not avoided,
V WARNING could result in death or serious injury.
Indicates a hazardous situation that, if not avoided,
V CAUTION could result in minor or moderate injury.
Indicates a hazard that, if not avoided, could result in
NOTICE
property damage.
Indicates important information that you should take
Note
into account to avoid malfunctions.
Indicates tips that can make your work easier.
Tip
Indicates a link that refers to a definition in the
glossary, which you can find at the end of the
document unless stated otherwise.
Follows the document title in a link that refers to
another document.
Naming conventions dSPACE user documentation uses the following naming conventions:
7
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
About This Document
Special Windows folders Windows‑based software products use the following special folders:
Tip
Tip
Tip
Accessing dSPACE Help and After you install and decrypt Windows‑based dSPACE software, the
PDF files documentation for the installed products is available in dSPACE Help and as PDF
files.
dSPACE Help (local) You can open your local installation of dSPACE Help:
§ On its home page via Windows Start Menu
§ On specific content using context-sensitive help via F1
PDF files You can access PDF files via the icon in dSPACE Help. The PDF
opens on the first page.
8
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
About This Document
9
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
About This Document
10
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
New Features
New Features
Support of the new SCALEXIO ControlDesk 2023‑B supports the new SCALEXIO FSX hardware for fault
FSX hardware for fault insertion, signal conditioning, and further extensions. The FSX hardware lets you
simulation use standard I/O boards for simulating faults in the wiring of an ECU.
The ControlDesk XIL API EESPort user interface lets you configure and switch
these faults.
For more information on the new FSX hardware, refer to Fault Simulation with
FSX Hardware (SCALEXIO – Hardware and Software Overview ).
For more information on the ControlDesk XIL API EESPort user interface, refer to
Basics on Electrical Error Simulation on page 14.
Support of XIL API version Electrical error simulation with ControlDesk now also supports XIL API version
2.2.0 2.2.0 for EESPort implementations.
11
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
New Features
12
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Basics and Instructions
13
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Introduction During hardware-in-the-loop (HIL) simulation to test ECU software, not only the
normal (undisturbed) behavior of an ECU is to be tested, but also its behavior
under error conditions, which are typically caused by problems in the ECU wiring.
14
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Tutorial video
Basics on Electrical Error Simulation
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/Kqhag
Simulating electrical errors in To test ECU software under error conditions, electrical error simulation is used.
the wiring Electrical error simulation deals with typical wiring errors like loose contacts,
broken cables, short-circuits to neighboring pins, to ground (chassis) or to battery
voltage. Supported by software, the electrical error simulation is performed by
the fault simulation hardware of an HIL simulator.
Supporting the ASAM AE XIL The following XIL API version for the EESPort implementation is supported:
API standard § XIL API version 2.2.0
For complete information on the capabilities of the ASAM AE XIL API, refer to
the documentation of the ASAM AE XIL API standard that is delivered with the
dSPACE XIL API .NET implementation and the Failure Simulation Package.
Terminology In the context of dSPACE products that are not based on the
ASAM XIL API standard, the electrical error simulation is called fault simulation.
The errors are therefore faults that are executed on fault simulation hardware.
Usually the hardware provides a failure insertion unit (FIU). You find both terms
in this document.
Electrical error simulation ControlDesk for initial operation and manual tests ControlDesk provides
with dSPACE products a graphical user interface (GUI) for electrical error simulation that is delivered
with the Failure Simulation Package. This GUI for electrical error simulation is
targeted at the initial operation of the HIL simulator's fault simulation hardware
and to perform first manual tests.
dSPACE XIL API .NET for automated tests For extensive HIL tests, it is
recommended to use automated testing based on dSPACE XIL API .NET and
15
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
its EESPort implementation, which is also delivered with the Failure Simulation
Package. For further information on electrical error simulation via automated
testing, refer to dSPACE XIL API EESPort Implementation .
Compatibility aspects
§ The following XIL API version for the EESPort implementation is supported:
§ XIL API version 2.2.0
§ Only the dSPACE XIL API EESPort implementation is supported. The version of
ControlDesk and the version of the dSPACE EESPort implementation must be
of the same dSPACE Release. For example, if you use ControlDesk 2024‑A,
which is part of dSPACE Release 2024-A, you must select the dSPACE XIL API
EESPort implementation from dSPACE Release 2024-A.
Videos
Introduction Electrical Error Simulation ports (EESPorts) provide access to the fault simulation
hardware for simulating electrical errors in an ECU wiring according to the ASAM
AE XIL API standard.
Interface to the fault EESPorts serve as interfaces to the fault simulation hardware, which is controlled
simulation hardware by the test cases during HIL simulation, not by the real-time application. Using
EESPorts lets you handle your test cases without knowing the fault simulation
hardware in detail.
16
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Port configuration To interface the fault simulation hardware, an EESPort needs the hardware-
dependent port configuration file (PORTCONFIG file). The file's contents must
fit the connected HIL simulator architecture and its fault simulation hardware.
The port configuration file is based on XML. If you replace the port configuration
file, you might not need to modify your EESPort application when you want
to run the electrical error simulation on another HIL simulator with a similar
architecture that supports the configured errors.
The port configuration can also comprise interface definitions of the fault
simulation hardware, information on vendor-specific extensions, and (for dSPACE
hardware) information on potential mapping and signal mapping. While signal
mapping is optional, potential mapping is required for most of the dSPACE
simulation platforms.
Tip
You find examples for different port configuration (PORTCONFIG) files in the
XIL API EESPort Demo project. Refer to XIL API EESPort Demo on page 31.
Error configuration An error configuration is an XML file that describes a sequence of errors
you want to switch during electrical error simulation. Each error configuration
comprises error sets with one or more errors.
17
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Error Configuration
Error Set Error Set Error Set
Error Error Error
Error Error Error
Error Error Error
...
...
...
Error configurations are defined for EESPorts and can be downloaded to the fault
simulation hardware to be executed during electrical error simulation.
Tip
§ For initial operation of a fault simulation hardware and first manual tests
via ControlDesk, you can use single error configuration (XML) files.
§ For extensive and automated HIL tests via scripting, it is recommended
to implement the error configuration within your source code instead of
loading an error configuration (XML) file. This makes testing errors more
flexible.
HowTos
References
Videos
Introduction An error is defined by the error category, the error type, and the load type of
the related signal(s). Which errors you can create for a signal depend on the
connected fault simulation hardware.
18
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Usually, an error that affects only one pin is called single pin fault, except for a
short circuit between two pins, which is also called a single pin fault. If an error
affects multiple signals, it is called multiple pin fault or multi-pin fault.
Note
Error type The error type specifies the way an error category – i.e., an interruption or short
circuit of signals – is provided. The error type defines the disturbance itself.
There are the following possibilities that differ in the dynamic of the disturbance
(static, for a defined duration, controlled by a PWM signal) and the resistance in
case of an error.
19
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Load type The load type specifies the option to disturb a signal with or without load
rejection. This means the load can be connected to (With load) or disconnected
from (Without load) the device under test, i.e., the ECU, during error
simulation.
References
Error......................................................................................................................................... 86
Signal....................................................................................................................................... 91
Introduction To perform electrical error simulation, a SCALEXIO system with HighFlex and/or
MultiCompact hardware has an integrated fault simulation system.
20
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Host PC with
ControlDesk
Ethernet
Required licenses To simulate electrical errors, two kinds of licenses are required:
§ A license for using the Failure Simulation Package of ControlDesk
§ A license for using the fault simulation hardware provided by a SCALEXIO
system
For more information, refer to License Required for Fault Simulation (SCALEXIO –
Hardware and Software Overview ).
Components of SCALEXIO To perform electrical error simulation, a SCALEXIO system with HighFlex and/or
HighFlex and MultiCompact MultiCompact hardware has an integrated fault simulation system, which
hardware consists of the following components.
Central failure insertion unit The central failure insertion unit (central FIU),
which is located, for example, on an FIU & power switch board or an I/O unit.
Failure routing units Individual failure routing units (FRUs), which are
located on the signal and bus lines of the individual channels of SCALEXIO
MultiCompact I/O units and boards and HighFlex I/O boards. (Standard
SCALEXIO I/O boards do not have any failure routing units.)
21
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Failrails The failrails, which connect the central FIU to the individual failure
routing units (FRUs) via the backplanes of the SCALEXIO slot units or I/O units.
Electrical errors The integrated SCALEXIO fault simulation hardware lets you switch the following
electrical errors:
§ Open circuit to simulate a broken wire or loose contact
§ Short circuit
§ To ground (KL31)
§ To power switch channels with battery voltage (KL15, KL30)
§ Between channels of the same signal category (e.g., a short circuit between
signal measurement channels)
§ Between channels of different signal categories (e.g., a short circuit between
signal measurement channels and signal generation channels)
§ Between signal measurement channels or signal generation channels and
bus channels
§ Pulsed switching for signals of signal measurement channels and signal
generation channels (e.g., to simulate loose contacts or relay contact
bouncing)
Note
You cannot use pulsed switching for bus signals or when simulating
multiple electrical errors.
Except for the Analog In 2 and Analog Out 2 channel types, switching electrical
errors is performed only for the signal/bus lines, not for reference lines.
Load or signal disconnection In most cases, you can disconnect the loads or signals during fault simulation
(load rejection). For example, to protect sensitive loads of signal measurement
channels. Limitations apply only when you work with multi-pin faults (refer
to Switching short circuits between multiple signals and/or bus channels on
page 24).
22
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Note
The relay might be carrying a current when you are using it to disconnect
the loads or signals. Note the related warnings listed in Safety Precautions
for Simulating Electrical Errors with a SCALEXIO System (dSPACE XIL API
EESPort Implementation ).
To switch a relay that might be carrying a current, you must set the
corresponding property of the channel in ConfigurationDesk. Otherwise you
cannot switch this kind of fault in combination with this channel.
Pulsed switching The central FIU uses semiconductor switches for switching the faults. It is able
to switch very fast (pulsed switching). This makes it possible to simulate loose
contacts or defined switch bouncing. However, pulsed switching is not possible
in all combinations of channel types.
Switching multiple electrical The integrated SCALEXIO fault simulation hardware supports switching multiple
errors electrical errors at the same time or in succession. For example, you can simulate
an open circuit for one channel and a short circuit for another channel at the
same time, without deactivating the first error.
Note
Allowed electrical errors You can simulate the following electrical errors at
the same time:
§ Any number of open circuits (interrupts)
§ Multiple short circuits to one power switch channel (short to battery voltage or
another potential)
§ Up to 10 short circuits with a DS2642 FIU & Power Switch Board
§ Up to 6 short circuits with a DS2680 I/O Unit
§ Multiple short circuits to ground (short to GND)
§ Up to 10 short circuits with a DS2642 FIU & Power Switch Board
§ Up to 6 short circuits with a DS2680 I/O Unit
§ Multiple short circuits between signal measurement, signal generation and
bus channels (short to pins, multi-pin errors (refer to Switching short circuits
between multiple signals and/or bus channels on page 24))
§ Short circuits between up to 10 channels (one multi-pin error)
§ Two multi-pin errors in parallel (2 × 10 channels)
23
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Limitations
§ In general, switching multiple electrical errors is limited by the allowed
maximum current of the channels and failrails involved.
§ Switching multiple electrical errors with channels that use current
enhancement is not supported (except for channel multiplication of the Power
Switch 1 channel type of the DS2642 FIU & Power Switch Board).
§ Pulsed switching is supported for one signal only.
Switching short circuits Multi-pin errors Multi-pin errors let you simulate a short circuit between
between multiple signals three or more signal channels and/or bus channels. The channels can be located
and/or bus channels on the same or different boards or I/O units. You can simulate a short circuit
between:
§ Channels of the same signal category (e.g., four signal generation channels)
§ Channels of different signal categories (e.g., three signal generation channels
and two signal measurement channels)
§ Signal channels and bus channels (e.g., two signal generation channels, one
signal measurement channel, and one bus channel)
Note
You can switch multi-pin errors and disconnect loads or signals by using
relays that might be carrying a current. Note the related warnings listed in
Safety Precautions for Simulating Electrical Errors with a SCALEXIO System
(dSPACE XIL API EESPort Implementation ).
Monitoring the switching With an experiment software such as ControlDesk, you can monitor and trace
behavior the switching behavior of the SCALEXIO fault simulation hardware. For further
24
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Introduction To perform electrical error simulation, you can use SCALEXIO FSX hardware.
Standard I/O boards have no failure routing unit, so you cannot use them for
fault simulation. Therefore, dSPACE offers the SCALEXIO FSX hardware as an
extension of your SCALEXIO system, which lets you integrate fault insertion,
signal conditioning, and further extensions into your application.
Electrical errors The SCALEXIO FSX hardware lets you switch the following electrical errors:
§ Open circuit, for example, to simulate a cable break.
§ Short to battery voltage.
§ Short to ground.
§ Pin-to-pin, for example, to simulate a connection of signal lines.
25
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Overview The following illustration shows a HIL simulator that is extended by a discrete
failure insertion unit (FIU). This schematic is also valid for a SCALEXIO system that
does not use the concept of the integrated SCALEXIO failure insertion unit (FIU).
Failure ECU
insertion unit
CAN or RS232
connection
Real-time
system
Bus connection
HIL simulator Host PC with
ControlDesk
The important components of the fault simulation hardware are the failure
insertion unit (FIU) and the host PC with ControlDesk and its Failure Simulation
Package.
Failure insertion unit The HIL simulator must be equipped with a discrete
failure insertion unit (FIU). The FIU is connected via a CAN or RS232 serial
connection, depending on its type. For an overview of the FIUs, refer to
Hardware for Failure Simulation (dSPACE XIL API EESPort Implementation ).
26
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
Supported interfaces The discrete failure insertion unit can be controlled by CAN interfaces and RS232
interfaces:
Note
Signal file For HIL simulators with discrete FIUs, the electrical errors (also named fault
classes) allowed for electrical error simulation are specified in the signal file that
comes with the simulator.
For more information, refer to Defining Failure Classes with Signal Files (dSPACE
XIL API EESPort Implementation ).
References
27
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Introduction The Failure Simulation Package extends ControlDesk for configuring and
performing electrical error simulation.
GUI elements for electrical The following illustration shows ControlDesk's user interface for electrical error
error simulation simulation.
XIL API EESPort ribbon The XIL API EESPort ribbon provides commands for handling EESPorts and
performing electrical error simulation with the connected fault simulation
hardware.
Error configuration page The error configuration page in ControlDesk's working area lets you display
and specify error configurations, error sets, errors, and the related signals
28
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
in a graphical environment. All the elements you are focusing in the error
configuration page can be configured via the Properties pane.
Different symbols illustrate the state of the configuration. The trigger type of
an error set is indicated by a symbol in its top left corner, for example, a
symbol for a manually triggered error set or a symbol for an error set that
is triggered by software . Multiple or symbols indicate if the single settings
are valid or invalid.
Different frame colors and background colors display the states of an error
configuration and its error sets. For further details, refer to Error Configuration
on page 87 and Error Set on page 89.
In the working area, you can move errors and signals between error sets and
error configuration pages via drag & drop. You can also copy errors and signals.
To do this, press the Ctrl key during the drag & drop. If you move or copy errors
between different error configuration pages, the related signal mapping might
change the involved ECU pins.
EESPort Configurations pane The pane displays wiring information on the related hardware-in-the-loop (HIL)
simulator and specifications for the electrical error simulation: the ECU signals
(i.e., their names), their wiring (i.e., the connected ECU pins) and the allowed
error categories, error types, and load types for each ECU pin (see the following
example).
You can use the pane to map ECU pins to errors in the working area via drag &
drop.
The pane provides a wide range of commands for arranging and filtering the
displayed entries, for example, you can group rows or specify comprehensive
filter rules.
29
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Workflow steps Carry out the following steps to simulate electrical errors in the wiring of an
ECU:
1. Specify the allowed errors (fault classes) for each ECU pin
§ For non-SCALEXIO systems, specify the errors (fault classes) allowed
for electrical error simulation in the simulator's signal file, which is
provided with the simulator by dSPACE. For more information, refer
to Defining Failure Classes with Signal Files (dSPACE XIL API EESPort
Implementation ).
§ The way of specifying the allowed errors for SCALEXIO systems depends
on the fault simulation hardware you are using:
§ For SCALEXIO systems with HighFlex and MultiCompact hardware,
specify the errors (faults) allowed for the ECU signals and the
load rejection of signal measurement channels in ConfigurationDesk.
ConfigurationDesk includes the information in the real-time application
file (RTA file). For more information, refer to Specifying Allowed
Failure Classes for ECU Pins (SCALEXIO – Hardware and Software
Overview ).
§ For SCALEXIO systems with FSX hardware, you need a signal list file
in JSON format that describes all the signals of a SCALEXIO system
with FSX boards. This file is delivered with the SCALEXIO system. In the
Signal List Editor, you can specify the errors that are allowed for a pin.
For more information, refer to Workflow for Fault Simulation with FSX
Hardware (SCALEXIO – Hardware and Software Overview ).
2. Connect the fault simulation hardware to the host PC physically
§ For a HIL simulator with a discrete FIU, connect the host PC to the fault
simulation hardware via an RS232 or CAN connection.
§ For both SCALEXIO fault simulation systems (HighFlex and MultiCompact
and SCALEXIO FSX), the Ethernet connection between the host PC and
the SCALEXIO system is used. No additional connection is required.
3. Start ControlDesk
Start ControlDesk. Create a new project and experiment or load an existing
project and experiment.
30
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Introduction to Simulating Electrical Errors
The experiment contains an XIL API EESPorts folder for managing Electrical
Error Simulation ports (EESPorts) and their error configurations.
For SCALEXIO systems, the experiment must contain a registered SCALEXIO
platform with a variable description.
4. Create an Electrical Error Simulation port (EESPort)
Create an EESPort to interface the connected fault simulation hardware.
Refer to How to Create a New EESPort on page 39.
5. Connect the EESPort to the fault simulation hardware
Configure the EESPort and connect it with the related fault simulation
hardware. Refer to Configure (EESPort) on page 124.
6. Create and configure an error configuration
Create an error configuration and specify the error sets and errors you want
to switch. Refer to How to Create and Configure an Electrical Error on
page 50.
7. Perform the electrical error simulation
Finally, you can perform the electrical error simulation according to the
created error configuration with the following steps:
§ Download an error configuration to the fault simulation hardware.
§ Activate the error configuration on the fault simulation hardware.
§ Trigger the error sets of the error configuration to activate the related
errors.
§ Deactivate the error configuration to stop the electrical error simulation.
§ Unload the error configuration from the fault simulation hardware.
For more details on performing the electrical error simulation, refer to How
to Perform Electrical Error Simulation on page 66.
Opening demo projects For instructions on opening demo projects , refer to Copying and opening a
demo project (ControlDesk Introduction and Overview ).
Description of the demo The XILAPIEESPortDemo project shows you ControlDesk and its electrical error
project simulation features in connection with dSPACE fault insertion hardware. As
your simulator probably does not match the configurations used for this
demo, you cannot use it to perform electrical error simulation, but you can gain
an impression of how electrical error simulation works.
31
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Demo overview The illustration below shows the error configuration for
the SCALEXIO HighFlex & MultiCompact XIL API EESPort as an example:
Contained XIL API EESPorts The following table shows which simulator
hardware you can use for the XIL API EESPorts in the demo project:
32
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Introduction Potential mapping is usually required if your electrical error simulation works with
errors against ground, battery supply voltage or another potential. You can use
potential mapping with SCALEXIO HighFlex and MultiCompact hardware.
33
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Potential mapping for dSPACE The ASAM AE XIL API standard requires the identification of potentials with
hardware unique identifiers (IDs), starting with 0. For a more practical approach, electrical
error simulation with ControlDesk and the dSPACE XIL API implementation lets
you map these identifiers to the potential names that you use with your real-time
application and your HIL simulator.
Via potential mapping, potential names and potential types are mapped to
unique identifiers. Refer to the following example:
According to the ASAM AE XIL API standard, there are the following potential
types: Gnd (for ground), Ubat (for UBattery), and Potential (for a potential
between ground and UBattery). The list order of the potentials in the mapping
corresponds to the unique identifiers assigned for the single potentials.
To show the potential names in the errors in ControlDesk's working area, the
related EESPort must be configured. Only if there is no valid potential mapping,
ControlDesk will display a potential ID in the GUI.
Basics on potential names The potential names are specified by the fault simulation hardware of your
dSPACE simulator.
Potential names of discrete FIUs For discrete FIUs, the potential names (for
potentials 0 … n) are defined in the format area of the simulator's signal file.
Refer to the following example.
34
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
For more details, refer to Defining Failure Classes with Signal Files (dSPACE XIL
API EESPort Implementation ).
Specific hardware You are recommended to use potential mapping for dSPACE fault simulation
dependencies hardware. Potential mapping is not required for all the hard-wired potentials
of your fault simulation hardware, because the dSPACE XIL API implementation
knows these potentials.
35
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Using a preconfigured You can create a preconfigured potential mapping when creating a new port
potential mapping configuration (PORTCONFIG) file with ControlDesk. ControlDesk performs a
preconfigured potential mapping based on the potential names that are provided
for your fault simulation hardware. By default, the Type of all the potentials is
set to Potential. Refer to the following illustration:
You can change this preconfigured potential mapping in the Properties pane.
For more information, refer to How to Create a New Port Configuration File on
page 46.
HowTos
36
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
References
Introduction Signal mapping specifies an optional mapping between the signal names and
abstract names used in the XIL API application.
Signal mapping for dSPACE According to the ASAM AE XIL API standard, the signals to be disturbed
hardware via electrical error simulation are identified by abstract signal names, i.e., user-
defined strings. For dSPACE hardware, optional signal mapping lets you map the
ECU pins that you are using in your HIL system to these abstract signal names.
Signal mapping lets you replace the port configuration file without modifying
your EESPort application when you want to run the electrical error simulation on
another HIL simulator with a similar architecture.
You can specify signal mapping when creating a new EESPort or later in
the Properties pane. The signal mapping is stored in the port configuration
(PORTCONFIG) file of the EESPort. The following illustration shows how signal
mapping for an EESPort is displayed in the Properties pane for SCALEXIO
HighFlex and MultiCompact hardware.
In this example, the ECU pin named Pin 2 of the ECU named ECU 1 is mapped
to a signal named Signal 1.
37
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
ECU 2\Pin 4. The following illustration shows how signals with and without
signal mapping are displayed in an error set.
Signals with
signal mapping
Signals without
signal mapping
Generating a default signal You can generate a default signal mapping when creating a new EESPort. To
mapping generate the default signal mapping, enable Configure after creation and
Generate default signal mapping when creating the new EESPort. Refer to
How to Create a New Port Configuration File on page 46.
ControlDesk generates the default signal mapping based on the ECU names and
pin names that are specified for your dSPACE simulator. The resulting signal
names are composed of the original ECU names and the pin names, e.g.,
ECU 2\Pin 4. You can change this default signal mapping in the Properties
pane.
Note
38
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
ECU and pin names for Specifying ECUs and ECU pins depends on the fault simulation hardware you
dSPACE hardware use:
§ If you use a discrete FIU, you can specify the ECUs and ECU pins in a signal file.
§ If you use SCALEXIO HighFlex and MultiCompact hardware, you can specify
the ECUs and ECU pins via ConfigurationDesk.
§ If you use SCALEXIO FSX hardware, you can specify the ECUs and ECU pins via
the Signal List Editor.
HowTos
References
Objective To interface the fault simulation hardware, you have to create an Electrical Error
Simulation port (EESPort).
39
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Tutorial video
Creating an EESPort
This video shows you to create an Electrical Error Simulation port (EESPort) to
interface dSPACE fault simulation hardware.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/sgr3s
Preconditions To create an EESPort for the fault simulation hardware of a SCALEXIO system:
§ The related SCALEXIO platform must be registered in ControlDesk. For
further details, refer to How to Register a Platform (ControlDesk Platform
Management ).
§ The registered SCALEXIO platform is added to the ControlDesk experiment you
are working with. For further details, refer to How to Add a Platform/Device to
an Experiment (ControlDesk Platform Management ).
§ You added a variable description to the SCALEXIO platform. For further details,
refer to How to Add a Variable Description to a Platform/Device (ControlDesk
Variable Management )
§ The experiment has been saved at least once.
40
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Tip
For dSPACE fault simulation hardware, you can also use the dialog
to create a new port configuration (PORTCONFIG) file if you do not
select an existing PORTCONFIG file. Refer to How to Create a New Port
Configuration File on page 46.
3 If you use an XIL API EESPort implementation from dSPACE, you must click
the Next button to change to the PortConfiguration dialog.
The dialog displays the contents of the port configuration file (see the
following example).
4 You can change the configuration of the EESPort according to your needs.
For example, you can add, edit, or remove the potential mapping and/or
signal mapping. Your settings must fit the related fault simulation hardware.
For details on the available properties, refer to Insert EESPort on page 136.
Tip
41
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Result In the Project pane, a new EESPort with an error configuration appears in the
XIL API EESPorts folder.
In the Windows file system, a related EESPort folder is created. The folder
contains:
§ A local working copy of the selected port configuration (PORTCONFIG) file or a
new PORTCONFIG file.
§ A local working copy of the signal list (CSV) file (for a HIL simulator that uses a
discrete FIU).
§ A first error configuration (XML) file
Next step You can now configure the error configuration, refer to How to Create and
Configure an Electrical Error on page 50.
HowTos
42
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
References
EESPort..................................................................................................................................... 84
Insert EESPort......................................................................................................................... 136
Preconditions § You created an EESPort. To create an EESPort, refer to How to Create a New
EESPort on page 39.
§ The EESPort is disconnected from the fault simulation hardware. To disconnect
an EESPort, refer to Disconnect (EESPort) on page 125.
Tip
43
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Tip
3 In the Name edit field, type the potential name as used for your HIL
simulator: e.g., Power Switch (1)\VBat.
4 Change to the Type field and select the related potential type: e.g.,
Potential.
44
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
For the Short to Potential error category, the GUI for electrical error simulation
will use the specified potential names instead of the related potential IDs.
45
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
References
Configuration Files for Electrical Error Simulation (dSPACE XIL API EESPort
Implementation )
Objective For dSPACE fault simulation hardware, you can create a new port configuration
(PORTCONFIG) file when creating a new XIL API EESPort.
46
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
47
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
6 Select the Type of the dSPACE hardware that you are using for the electrical
error simulation.
9 On the XIL API EESPort ribbon, click Disconnect to disconnect the EESPort
and make its properties editable.
48
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
10 In the Properties pane, edit the potential mapping according to the dSPACE
hardware that you are using for the electrical error simulation. Refer to the
following example:
Result You created a new EESPort and the related new port configuration file,
completed potential mapping, and saved your changes.
You can open the port configuration file in an XML editor to view its content.
Refer to the following illustration:
49
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Because you selected Generate default signal mapping, the PORTCONFIG file
also contains a default signal mapping which is based on the ECU names and pin
names that are specified for your dSPACE simulator.
References
Configuration Files for Electrical Error Simulation (dSPACE XIL API EESPort
Implementation )
Configuring electrical errors ControlDesk lets you configure multiple error categories in combination with
multiple error and load types. Due to the abundance of combinations, this topic
can show you only an example of how to create and configure an electrical error.
If an XIL API EESPort is configured, the error set's validity is checked automatically
during its configuration. The configuration state of an error set, an error or a
signal can be become temporarily invalid, which is indicated by a symbol.
Tip
You can display the related error message by moving and holding the
mouse over the icon.
However, at the end of the configuration, the state of an error set, an error or a
signal must be valid, which is indicated by a symbol. In the end, which errors
you can simulate depends on the connected fault simulation hardware and the
configuration of your HIL simulator for the connected ECU(s).
Precondition You created an Electrical Error Simulation port (EESPort), refer to How to Create a
New EESPort on page 39.
50
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Because the XIL API EESPort is configured, the list on the EESPort
Configurations pane now shows the related ECU pins and their allowed
states for electrical error simulation.
3 Open an existing error configuration or create a new one:
§ To open an error configuration, select Open from the context menu of an
EESPort in the XIL API EESPort folder in the Project pane.
§ To create a new error configuration, select New ErrorConfiguration from
the context menu of an EESPort in the XIL API EESPort folder in the
Project pane.
The error configuration is opened in ControlDesk's working area.
The following illustration shows an example of an error configuration
containing one error set and one interrupt error where the optional signal
mapping of the port configuration is missing. This is indicated by a
symbol in the signal row.
You now have to map an ECU pin (i.e., a signal) to the error.
51
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
4 From the EESPort Configurations pane, select an ECU pin and drag it to
the signal row of the error (see the following example).
Tip
You can use the Show Search Panel command or press Ctrl + F to
filter the list for the pin you want to use. Refer to Show Search Panel on
page 151.
52
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
5 Select the error in the working area. In the Properties pane, change the
Error category property: e.g., Short to Ground.
The symbol in the signal row indicates that the signal is to be disturbed
without load rejection.
6 In the Properties pane, change the Error type property: e.g., Dynamic.
53
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
The symbol disappears from the signal row to indicate the load rejection.
You can now create further errors in the error set or create further error sets.
References
Introduction You can activate error sets manually or via software triggers. Software triggers let
you activate error sets according to defined trigger conditions or durations.
54
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Tutorial video
Using Software Triggers for Electrical Error Simulation
This video shows you how to use software triggers for electrical error
simulation.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/xttey
Triggers for error sets You can specify the trigger type for each error set individually which is indicated
by the following symbols.
Symbol Description
The error set is to be triggered manually.
Note
To allow the use of software triggers, you must enable this for each EESPort
separately via the Enabled property. Refer to How to Configure a Software
Trigger on page 56.
Types of software triggers There are two types of software triggers: Software triggers defined by duration
or by a condition.
55
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
of the fault simulation hardware is not possible. Error sets that are using
software triggers with a condition are activated immediately without checking
the specified trigger condition.
Using aliases/symbol names When specifying a trigger condition by means of the Expression Editor, you
can also work with aliases/symbol names that stand for specific measurement
variables or parameters of your simulation application.
Tip
References
56
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Note
57
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
58
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
8 If you enter an expression that contains a symbol name, the symbol name
appears in the Variable Mapping properties section of the error set when
you close the Expression Editor. Refer to the following example.
Result You enabled software triggers and configured a condition for a software trigger.
The related variable mapping is displayed in the Properties pane. Refer to the
following example.
59
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
In the working area, the software trigger of the error set is indicated by a
symbol.
References
Videos
Using Software Triggers for Electrical Error Simulation (7:54) in dSPACE Help
Introduction When configuring errors, you can use standard commands or drag & drop to
simplify your work.
60
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Creating pin-to-pin and multi- The following illustration shows an example of an error set with a pin-to-pin
pin errors error and a multi-pin error.
Changing the selected pins The following methods are available for changing the pins you mapped to one or
more electrical errors:
§ You can change a single pin of an error by dragging another pin from the
EESPort Configurations pane to the related signal row.
§ You can replace a pin in all the error sets of an error configuration in one
step if you drag another pin to a related signal row by holding down the
right mouse key. This will open a context menu which lets you change the pin
globally.
§ You can change a single pin by editing the Signal name property in the
Properties pane.
Moving errors You can move errors in an error set or from one error set to another via drag &
drop.
Copying errors The following methods are available for copying errors from one error set to
another or to the same error set:
§ You can the use standard Copy and Paste commands to copy errors.
§ You can copy errors between error sets via drag & drop while holding the Ctrl
key.
Moving error sets You can move error sets in an error configuration via drag & drop.
61
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Copying error sets The following methods are available for copying error sets:
§ You can use the standard Copy and Paste commands to copy errors sets
between error configurations or in an error configuration.
§ You can also copy error sets in an error configuration via drag & drop while
holding the Ctrl key.
HowTos
Videos
Introduction The following tables show how typical errors are displayed in ControlDesk.
Which errors you can create for a signal depends on the connected fault
simulation hardware.
Short circuit to ground (GND) Short to ground Simple None Signal 1 With load
62
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Configuring Electrical Error Simulation
Dynamic short circuit to a potential Short to potential Dynamic Duration: 0.05 s Signal 1 Without load
Potential: e.g., 01)
Potential name: e.g.,
Power Switch 11)
Short circuit between two pins Pin to pin Resistor Resistor: 200 Ω Signal 1 With load
Signal 2 With load
Cable break (open circuit) of a bus channel Interrupt at Simple Interrupt position: S2 Signal 1 –
position
Pulsed short circuits between multiple pins Pin to pin Resistor Duration: 0.05 s Signal 1 With
loose Duty cycle: 50 % load
contact Frequency: 50 Hz Signal 2 With
load
63
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Error......................................................................................................................................... 86
64
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Performing Electrical Error Simulation
Introduction ControlDesk lets you download and control error configurations on a connected
fault simulation hardware to perform electrical error simulation with it.
Basics on downloaded error Executing error configurations To execute an error configuration, it has to
configurations be downloaded to the fault simulation hardware and started (activated).
The error sets of an error configuration are executed in consecutive order on the
fault simulation hardware. The first error set is activated when a first trigger is
set. An error set remains active until the next trigger is set.
The errors of the last error set remain active as long as the error configuration is
active.
Using empty error sets To get a defined end of the electrical error simulation
without any signal disturbance, an empty error set can be used as the last error
set in the error configuration.
Empty error sets can also be used to create error-free phases.
65
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Videos
Objective You can use ControlDesk with the Failure Simulation Package to test and initiate
your fault simulation hardware.
Tutorial videos
Configuring and Switching an Error
This video shows you how to configure and switch an electrical error.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/24v54
This video shows you how to work with multiple error sets when performing
electrical error simulation.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/fecei
66
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Performing Electrical Error Simulation
The symbols indicate that the error sets can no longer be edited or
removed.
2 Click XIL API EESPort – ErrorConfigurations – Activate to activate it on
the fault simulation hardware.
The frame color of the error configuration changes to green to indicate that
the error configuration is activated, which means that it is running on the
fault simulation hardware. The fault simulation hardware waits for the first
trigger to execute the first error set.
3 If you specified a manual trigger, click XIL API EESPort –
ErrorConfigurations – Trigger to activate the first error set.
If you specified a software trigger, the first error set is activated automatically
according to the related specification, for example, after the duration of
5 seconds.
The background color of the first error set changes to green to indicate
that its errors are active on the fault simulation hardware (see the following
example). The name of the active error set is also displayed in the Properties
pane. Refer to the following example.
67
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
The errors are active until the next error set is triggered.
4 Repeat step 3 for all the error sets of the error configuration.
5 Click XIL API EESPort – ErrorConfigurations – Deactivate to deactivate
and stop the execution of the error configuration on the fault simulation
hardware.
The frame color of the error configuration changes to red.
6 Click XIL API EESPort – ErrorConfigurations – Unload to unload the error
configuration from the fault simulation hardware.
In the working area, the colored frame of the error configuration is removed
and the background color of the error sets changes to light blue.
Result You performed electrical error simulation on the connected fault simulation
hardware.
Next steps For extensive and automated HIL tests, you must use dSPACE XIL API .NET and
its EESPort implementation, which is also delivered with the Failure Simulation
Package. For further information, refer to Implementing an EESPort Client
68
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Performing Electrical Error Simulation
Application (dSPACE XIL API EESPort Implementation ) and dSPACE XIL API
EESPort Implementation .
69
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Introduction You can monitor the estimated switching behavior and transition states of the
fault simulation hardware via specific measurement variables.
70
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
Tutorial videos
Monitoring the Switching Behavior of Discrete Failure Insertion Units
This video shows you how to monitor the switching behavior of discrete fault
simulation hardware.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/4LmRR
This video shows you how to monitor the switching behavior of the
SCALEXIO fault simulation hardware.
To watch this video, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/wAad6
71
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Basics Each EESPort provides Real-Time Configuration properties for monitoring the
switching behavior of the fault simulation hardware in connection with a related
real-time application and HIL simulator. Refer to the following example:
The Tracing variables for monitoring the switching behavior are generated
into the resulting variable description file when you build the simulation
application of a real-time model. These variables are independent from other
model variables. They do not measure the real behavior of the fault simulation
hardware, they only estimate it according to empirical values. The variables are
written and read‑only by the XIL API EESPort.
You can enable the monitoring of the switching behavior via the Enable
property of the EESPort. Refer to EESPort – Real-Time Configuration Properties
on page 100.
Variables for monitoring the Using the default tracing variables When you build the simulation
switching behavior application, tracing variables are generated into the related variable description
file. The following table shows the tracing variables generated for SCALEXIO
HighFlex and MultiCompact (located in the XIL API/EESPort subgroup) and
for SCALEXIO FSX hardware (located in the XIL API/EESPort SCALEXIO FSX
subgroup).
72
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
Note
§ If you execute multiple EESPorts in parallel, you must ensure that the
tracing variables of the EESPorts have different name paths or variable
names. Refer to Using alternative variables.
§ If you use the SCALEXIO HighFlex and MultiCompact hardware in a
SCALEXIO multiprocessor system, you must use the tracing variables of
the SCALEXIO Processing Unit that is specified to control the electrical
error simulation. Although the tracing variables are generated into each
application process, they are only written on the processing unit that
controls the electrical error simulation.
Tip
73
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
When you specify the port configuration (PORTCONFIG) file for the EESPort, you
have to replace the default tracing variables with your alternative variables.
Refer to the following example.
<RealTimeConfiguration PlatformName="SCALEXIO Real-Time PC" SystemDescriptionFilePath="../../../Variable Descriptions/
turnlamp.sdf/turnlamp.sdf">
<Tracing Enabled="true">
<Variable Value="Platform()://XIL API/EESPort/Error Activated" Type="ErrorActivated" />
<Variable Value="Platform()://XIL API/EESPort/Active ErrorSet" Type="ActiveErrorSet" />
<Variable Value="Platform()://XIL API/EESPort/Error Switching" Type="ErrorSwitching" />
<Variable Value="Platform()://XIL API/EESPort/Flags" Type="Flags" />
<Variable Value="Platform()://XIL API/EESPort/Trigger" Type="Trigger" />
</Tracing>
</RealTimeConfiguration>
Note
Example Switching the fault simulation hardware consumes time for communication and
relay switching. The following example shows how the various measurement
variables will display the estimated switching behavior of the fault simulation
hardware in response to different commands (e.g., triggers) from the host PC
where the XIL API EESPort is executed.
74
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
Error Configuration
ErrorSet_1 ErrorSet_2 ErrorSet_3 ErrorSet_4 ErrorSet_5
Error_3 (Signal_2)
Error 1
Switching 0
Delay Delay Delay Delay Delay Delay t
(Deactivate Error_2) (Activate Error_3)
Error 1
Activated 0
t
5
4
3
2
Active 1
ErrorSet 0
t
The example shows an error configuration with five error sets that disturb two
signals with errors. The displayed switching behavior of the fault simulation
hardware mainly depends on hardware‑dependent delay times (e.g., for relay
switching or communication) which can differ from each other.
Latencies when Performing Electrical Error Simulation (dSPACE XIL API EESPort
Implementation )
Monitoring the Switching Behavior of Electrical Error Simulation Hardware (dSPACE
XIL API EESPort Implementation )
HowTos
References
75
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Objective You can configure to monitor the switching behavior of the fault simulation
hardware when creating an EESPort or later via the EESPort's properties.
This topic shows how to configure the EESPort's properties via the Properties
pane.
76
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
path properties and the names of the Tracing variables. Refer to the
following example with a DS291 FIU Module:
The properties and variable names are stored in the port configuration
(PORTCONFIG) file of the EESPort.
Note
Note
77
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Note
Result You configured the Real-Time Configuration properties of the EESPort for
monitoring the switching behavior of the fault simulation hardware.
When you perform electrical error simulation, you can now capture the specified
Tracing variables with ControlDesk to monitor the switching behavior of the
fault simulation hardware. For more information on the Tracing variables, refer
to Basics on Monitoring the Switching Behavior of the Fault Simulation Hardware
on page 70.
Videos
78
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
Introduction You can use the legacy variables from the Diagnostics/Failure Simulation
subgroup to monitor the switching behavior of SCALEXIO HighFlex and
MultiCompact hardware. If possible, use the measurement variables from the
XIL API/EES subgroup instead. Refer to Basics on Monitoring the Switching
Behavior of the Fault Simulation Hardware on page 70.
Variables for monitoring the The Diagnostics/Failure Simulation subgroup of the TRC file contains the
switching behavior following variables for monitoring the switching behavior of SCALEXIO HighFlex
and MultiCompact hardware.
79
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Examples
Example of the States During Electrical Error Simulation with SCALEXIO HighFlex and
MultiCompact Hardware.......................................................................................................... 80
Introduction The following example shows the switching behavior of the integrated FIU
of SCALEXIO HighFlex and MultiCompact hardware in response to different
commands.
80
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Monitoring the Switching Behavior of the Fault Simulation Hardware
Example description In the example, two faults are switched in succession and then cleared at the
same time.
Signal 2
12 V
Possible bouncing
5V
0V
Signal 1
12 V
5V
Possible side effects during Possible side effects during
0V configuring phase configuring phase
Failure activated
1
Activation after
configuring with
semiconductor
Relay switching switches
1
Time for configuring Time for activating Time for de- Time for de-
with FRU relays with FRU relays activating the configuring the
second failure first failure with
Failure configured with FRU relays FRU relays
1
Failure sequence
count
3
0
Begin of first Begin of second Begin of third
failure sequence failure sequence failure sequence
(deactivation)
Commands Activate first failure Activate second failure Deactivate both failures t
from host PC ‘short to power supply‘ ‘open circuit‘ on
on Signal 1 Signal 2
Switching the first fault Signal 1 is to be shorted to VBAT (12 V). The fault
is first (pre)configured by FRU relays in the signal's failure routing unit. During
this configuration phase, which equals an assumed relay response time, side
effects can occur. After the configuration phase, the fault is activated by the
semiconductor switches of the central FIU.
81
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Basics and Instructions
Clearing the faults The deactivation of both faults is started at the same
time. While the first fault is deactivated immediately via semiconductor switches,
the second fault must be deactivated by FRU relays. This can be accompanied
by contact bouncing. After an assumed relay response time for deactivating
the second fault, the first fault is deconfigured by FRU relays, which can be
accompanied by side effects.
When all the faults are cleared, the fault sequence count is zero.
Videos
82
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Reference Information
Reference Information
83
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
EESPort.................................................................................................... 84
To provide access to a fault simulation hardware for simulating electrical
errors in an ECU wiring according to the ASAM AE XIL API standard.
Error........................................................................................................ 86
To specify an electrical error.
Error Configuration................................................................................. 87
To describe a sequence of errors you want to switch during electrical
error simulation.
Error Set.................................................................................................. 89
To group errors (pin faults).
Signal...................................................................................................... 91
To communicate between a hardware-in-the-loop simulator and a
connected device under test (DUT), i.e., an ECU.
EESPort
Description EESPorts are located in the XIL API EESPorts folder of the Project pane.
In the Windows file system, each EESPort has a related folder that can contain:
§ A local working copy of the port configuration (PORTCONFIG) file
§ Error configuration (XML) files
§ A local working copy of the signal list (CSV) file (for a HIL simulator that uses a
discrete FIU).
§ A local working copy of the signal list (JSON) file (for SCALEXIO FSX hardware).
84
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Descriptions
EESPort symbols An EESPort has the following symbols in the Project pane:
§ (closed)
§ (opened, but not connected to the fault simulation hardware)
§ (opened and connected to the fault simulation hardware)
Property Purpose
EESPort - Configuration Properties on To specify properties that are related to the hardware you are using for electrical error
page 94 simulation.
EESPort - General Properties on page 98 To display the general properties of the selected XIL API EESPort.
EESPort – Potentials Properties on To specify a mapping of the potentials provided by the simulator to unique identifiers
page 99 you need according to the ASAM AE XIL API standard.
EESPort – Real-Time Configuration To specify properties for monitoring the switching behavior of the fault simulation
Properties on page 100 hardware in connection with a related real-time application and HIL simulator.
EESPort – Signals Properties on page 103 To perform an optional mapping of ECU pins that you are using in your dSPACE HIL
simulator to abstract signal names according to the ASAM AE XIL API standard.
EESPort – Vendor Information Properties To display information on the electrical error simulation port (XIL API EESPort)
on page 103 implementation that is installed on the host PC.
Command Purpose
Close (EESPort) on page 123 To close an XIL API EESPort.
Configure (EESPort) on page 124 To configure the XIL API EESPort with vendor-specific information, i.e., the properties you
specified via the port configuration file.
Disconnect (EESPort) on page 125 To disconnect the XIL API EESPort from the related fault simulation hardware.
Export PortConfiguration on page 130 To export a port configuration as a PORTCONFIG file.
Import ErrorConfiguration on page 135 To import an error configuration as an XML file from the Windows file system.
New ErrorConfiguration on page 142 To create a new error configuration.
Open (EESPort) on page 144 To open an XIL API EESPort.
Properties on page 145 To open the Properties pane.
Reload PortConfiguration on page 146 To reload the original port configuration for an EESPort.
Replace PortConfiguration on page 147 To replace the port configuration of an EESPort with a new one.
References
85
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Error
Description In the working area, an error can display the following symbols:
Symbol Description
There is a configuration error. You can display the related error
message by moving and holding the mouse over this icon.
Error properties The item provides the following properties and settings:
Property Purpose
Error - Custom Properties on page 104 To specify custom properties for an error.
Error - General Properties on page 105 To configure the general properties of an electrical error, such as the error category and
the error type.
Error - Parameters Properties on page 106 To specify specific error parameters.
Command Purpose
Error Category on page 129 To specify the error category of an error.
Lock Scrolling on page 141 To lock the view of the error sets displayed in the working area when triggering errors.
New Error on page 141 To create a new error in an error set in the working area.
New ErrorSet on page 143 To create a new error set in an error configuration in the working area.
New Signal on page 143 To create a new signal in an error in the working area.
Properties on page 145 To open the Properties pane.
Examples
86
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Descriptions
References
Error Configuration.................................................................................................................. 87
Error Set................................................................................................................................... 89
Signal....................................................................................................................................... 91
Error Configuration
Introduction Error configuration An XML file that describes a sequence of errors you
want to switch during electrical error simulation. Each error configuration
comprises error sets with one or more errors.
Description Error configuration in the Project pane Error configurations are displayed
as children of EESPorts in the Project pane.
Opened in the working area, an error configuration can have the following
frame colors:
Frame Description
Color
None The error configuration is not downloaded to the fault simulation
hardware. It can be configured. You can add and remove error
sets.
Red The error configuration is downloaded to the fault simulation
hardware, but not activated. You can only add new error sets.
87
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Frame Description
Color
Green The error configuration is downloaded to the fault simulation
hardware and activated. You can only add new error sets.
Error configuration symbols An error configuration has the following symbol in the Project pane:
§ (closed)
§ (opened, but not downloaded to the fault simulation hardware)
Error configuration properties The item provides the following properties and settings:
Property Purpose
Error Configuration - General Properties on page 108 To configure the general properties of the error configuration.
Error Configuration - Variable Mapping Properties on To display and specify aliases for the condition triggers of the error
page 109 sets of the error configuration.
Error Configuration - Custom Properties on page 107 To specify custom properties for an error configuration.
Command Purpose
Activate (Error Configuration) on page 120 To activate an error configuration.
Close (Error Configuration) on page 123 To close an error configuration that is opened in ControlDesk's working area.
Deactivate (Error Configuration) on page 124 To deactivate and stop the execution of an error configuration on the fault
simulation hardware.
Download (Error Configuration) on page 125 To download an error configuration to the fault simulation hardware that is
connected to the host PC.
Export (Error Configuration) on page 130 To export an error configuration as an XML file.
Open (Error Configuration) on page 144 To open an error configuration in ControlDesk's working area.
Properties on page 145 To open the Properties pane.
Reload (Error Configuration) on page 145 To reload the last saved error configuration to the experiment.
Save (Error Configuration) on page 148 To save the error configuration (XML) file.
Trigger (Error Configuration) on page 153 To activate the first or next error set of an error configuration.
Update (Error Configuration) on page 155 To update an error configuration on the fault simulation hardware if you configured
one or more new error sets after activating an error configuration.
Unload (Error Configuration) on page 154 To unload an error configuration from the fault simulation hardware.
88
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Descriptions
HowTos
Error Set
Introduction Error set An error set is used to group errors (pin faults).
Description The errors of an error set are activated when the error set is triggered. The order
of errors in the error set does not play any role in their activation.
89
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
In the working area, an error set can display the following symbols:
Symbol Description
The error set is configured correctly.
Note
dSPACE XIL API .NET EESPort implementation supports only manual and
software triggers.
Item properties The item provides the following properties and settings:
Property Purpose
Error Set - Custom Properties on page 110 To specify custom properties for an error set.
Error Set - General Properties on page 110 To specify the general properties of an error set, such as the name and
trigger type.
Error Set - Software Trigger Properties on page 111 To specify software trigger properties that activate the error set
automatically.
Error Set - Variable Mapping Properties on page 111 To specify aliases to be used for the trigger condition of the error set.
Command Purpose
Lock Scrolling on page 141 To lock the view of the error sets displayed in the working area when triggering errors.
New Error on page 141 To create a new error in an error set in the working area.
New ErrorSet on page 143 To create a new error set in an error configuration in the working area.
Properties on page 145 To open the Properties pane.
90
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Descriptions
Error......................................................................................................................................... 86
Error Configuration.................................................................................................................. 87
New ErrorSet.......................................................................................................................... 143
Signal....................................................................................................................................... 91
Trigger (Error Configuration)................................................................................................... 153
Signal
Description In the working area, a signal can display the following symbols:
Symbol Description
There is a configuration error. You can display the related error
message by moving and holding the mouse over this icon.
Item properties The item provides the following properties and settings:
Property Purpose
Signal - General Properties on page 116 To specify the general properties of a signal, such as name and load type.
Signal - Information Properties on page 116 To display information on the signal if the EESPort is configured.
Command Purpose
Highlight Pin on page 135 To display the ECU pin in the EESPort Configurations pane.
Lock Scrolling on page 141 To lock the view of the error sets displayed in the working area when triggering errors.
New Error on page 141 To create a new error in an error set in the working area.
New ErrorSet on page 143 To create a new error set in an error configuration in the working area.
New Signal on page 143 To create a new signal in an error in the working area.
Properties on page 145 To open the Properties pane.
91
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Error......................................................................................................................................... 86
Error Set................................................................................................................................... 89
New Signal............................................................................................................................. 143
92
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
93
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Purpose To specify properties that are related to the hardware you are using for electrical
error simulation.
Properties for serial These properties are available only if you use an XIL API EESPort implementation
communication from dSPACE.
COM port Lets you specify the COM port when using an RS232 serial
interface to control the fault simulation hardware: e.g., COM1.
The COM port must be physically connected to the fault simulation
hardware.The COM port must not be used by another client.
Note
94
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Properties for CAN These properties are available only if you use an XIL API EESPort implementation
communication from dSPACE.
Card index (available for dSPACE CAN API 1.0) Lets you specify the index of
the CAN device: e.g., 1. For further information, refer to the documentation of
the used CAN interface.
Channel identifier (available for dSPACE CAN API 2.0) Lets you specify the
identifier of the channel.
Controller index (available for dSPACE CAN API 1.0) Lets you specify the
CAN controller index used for the CAN interface: e.g., 1.
The host PC must be connected to the failure insertion unit via the CAN
interface, which must not be used by another client.
dSPACE CAN API Version Lets you select the dSPACE CAN API version. It is
recommended to select dSPACE CAN API 2.0.
dSPACE CAN API 2.0 was introduced with dSPACE Release 2016‑B. It is the
successor of dSPACE CAN API 1.0, includes all previous features, and additionally
supports CAN FD.
As of dSPACE Release 2020‑A, dSPACE CAN API 1.0 is no longer supported.
Interface name (available for dSPACE CAN API 2.0) Lets you specify the CAN
interface that you are using to control the connected fault simulation hardware.
Value Description
Unknown interface Unknown interface
DCI-CAN2 dSPACE DCI-CAN2
DCI-CAN/LIN1 dSPACE DCI-CAN/LIN1
Leaf Kvaser Leaf
Memorator Professional Kvaser Memorator Professional
USBcan II Kvaser USBcan II
USBcan Professional Kvaser USBcan Professional
CANcaseXL Vector CANcaseXL
VN1610 Vector VN1610
VN1611 Vector VN1611
VN1630 Vector VN1630
VN1640 Vector VN1640
VN5610 Vector VN5610
VN5610A Vector VN5610A
VN7600 Vector VN7600
VN8900 Vector VN8900
Virtual Virtual interface
Interface type (available for dSPACE CAN API 1.0) Lets you specify the host
PC's CAN interface that you are using to control the connected fault simulation
hardware: e.g., dSPACE CAN Interface.
95
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Serial number Lets you specify the serial number of the CAN interface as
integer. It can be used instead of the card index.
Vendor name (available for dSPACE CAN API 2.0) Lets you specify the vendor
name of the used CAN interface.
Value Description
dSPACE dSPACE GmbH
Eberspaecher Eberspächer GmbH
Kvaser Kvaser
Vector Informatik Vector Informatik GmbH
Unknown vendor Unknown vendor
Properties for a discrete FIU The following properties are available only if you use an XIL API EESPort
implementation from dSPACE and a discrete failure insertion unit (FIU) in your
simulator.
ECU version Lets you specify the version of an ECU, if multiple ECU versions
are specified in the simulator's signal list file: e.g., 1.
Signal list file Lets you specify the related signal list (CSV) file via an absolute
path or a relative path to the related port configuration file. (In the port
configuration file, this property is represented by the SignalListPath attribute
of the HardwareConfiguration element.)
For details on signal list files, refer to Defining Failure Classes with Signal Files
(dSPACE XIL API EESPort Implementation ).
Properties for SCALEXIO The following properties are available if you use the integrated FIU of SCALEXIO
HighFlex and MultiCompact HighFlex and MultiCompact hardware.
hardware
Experiment platform name Lets you select the name of a SCALEXIO
platform that is used by the ControlDesk experiment.
96
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Override access Lets you automatically disconnect another client that might
be connected to the SCALEXIO fault simulation hardware when you configure
the XIL API EESPort with ControlDesk. The disconnected client will enter an error
state. It is recommended to disable this property in regular operation.
Real-time application file path Lets you specify the path to the real-time
application (RTA) file which is related to the variable description (SDF) file. (In
the port configuration file, this property is represented by the SignalListPath
attribute of the HardwareConfiguration element.)
This property is set automatically if the platform that is selected via the
Experiment platform name property provides the related information.
Real-time platform name Lets you specify the name of the SCALEXIO
processing unit that controls the electrical error simulation. (In the port
configuration file, this property is represented by the value of the PlatformName
element.)
This property is set automatically if the platform that is selected via the
Experiment platform name property provides the related information.
Properties for SCALEXIO FSX The following properties are available if you use SCALEXIO FSX hardware.
hardware
Override access Lets you automatically disconnect another client that might
be connected to the SCALEXIO fault simulation hardware when you configure
the XIL API EESPort with ControlDesk. The disconnected client will enter an error
state. It is recommended to disable this property in regular operation.
Real-time platform name Lets you specify the name of the SCALEXIO
processing unit that controls the electrical error simulation. (In the port
configuration file, this property is represented by the value of the PlatformName
element.)
This property is set automatically if the platform that is selected via the
Experiment platform name property provides the related information.
Signal list file Lets you specify the related signal list (JSON) file of the
SCALEXIO FSX hardware via an absolute path or a relative path to the related
port configuration file. (In the port configuration file, this property is represented
by the SignalListPath attribute of the HardwareConfiguration element.)
Configuration name Lets you specify the configuration from the signal list, if
multiple configurations are specified in the simulator's signal list file.
97
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
References
Purpose To display the general properties of the selected XIL API EESPort.
Properties Logging (available if the EESPort is not configured yet) For support only, lets
you enable logging. Logging essentially increases the execution time. Do not
enable logging in normal operating situations. Enable logging only if you want to
contact dSPACE Support.
Offline Mode (available if the EESPort is not configured yet) For tests on
the host PC without a physical connection to a fault simulation hardware, lets
you simulate the activation and triggering of errors without connecting the
EESPort to the fault simulation hardware. If you select this property, the use
of the tracing variables to monitor the switching behavior and transition states
of the fault simulation hardware is disabled automatically. If you are working
with software triggers, trigger conditions cannot be checked in offline mode.
Error sets that use trigger conditions are therefore activated immediately without
checking the specified condition.
Port configuration file Displays the name of the port configuration file.
To interface the fault simulation hardware, an EESPort needs the hardware-
dependent port configuration file (PORTCONFIG file). The file's contents must
fit the connected HIL simulator architecture and its fault simulation hardware.
State Description
Disconnected In its initial state, the EESPort is disconnected from the fault
simulation hardware. You can configure the EESPort. Electrical
error simulation is not possible.
Connected The EESPort is connected with the configured fault simulation
hardware. You can add, remove, and configure error
configurations.
Downloaded An error configuration is downloaded. You can start the error
configuration or add error sets to it. You cannot edit or remove
the downloaded error sets.
Activated The downloaded error configuration is started. The fault
simulation hardware waits for the first trigger event to execute
the first error set of the error configuration.
98
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
State Description
You can trigger the error sets of the error configuration in the
specified order. You can also add new error sets to the error
configuration.
References
Name Lets you specify the name for a potential provided by your dSPACE
simulator.
Type Lets you select the related potential type for each potential. According
to the ASAM AE XIL API standard, there are the following potential types: Gnd
(for ground), Ubat (for UBattery), and Potential (for a potential between ground
and UBattery).
99
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
HowTos
References
Purpose To specify properties for monitoring the switching behavior of the fault
simulation hardware in connection with a related real-time application and HIL
simulator.
Properties These properties are available only if you use an XIL API EESPort implementation
from dSPACE.
Experiment platform name Lets you select the name of a platform that
is used by the ControlDesk experiment. This platform must represent the HIL
simulator which executes the real-time application that provides the specific
measurement variables for monitoring the switching behavior of the fault
simulation hardware.
Based on information derived from the selected platform in the experiment (e.g.,
from its related variable description file), ControlDesk automatically specifies the
Real-time platform name and Variable description file path properties and
the names of the Tracing variables
100
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Note
Real-time platform name Lets you specify the platform name of the
real-time platform which executes the real-time application that provides the
specific measurement variables for monitoring the switching behavior. This
platform name must be the same as the platform name in the ControlDesk
Platforms/Devices pane. (In the port configuration file, this property is
represented by the PlatformName attribute of the RealTimeConfiguration
element.)
This property is set automatically if the platform that is selected via the
Experiment platform name property provides the related information.
Note
Variable description file path Lets you specify the path of the variable
description (SDF) file that contains the specific measurement variables for
monitoring the switching behavior of the fault simulation hardware. (In
the related port configuration file, this property is represented by the
SystemDescriptionFilePath attribute of the RealTimeConfiguration
element.)
This property is set automatically if the platform that is selected via the
Experiment platform name property provides the related information.
Tracing properties To monitor the switching behavior and transition states of the fault simulation
hardware via specific measurement variables. These variables are independent
from other model variables. They do not measure the real behavior of the fault
simulation hardware, they only estimate it according to empirical values. The
variables are written and read‑only by the XIL API EESPort.
These properties are available only if you use an XIL API EESPort implementation
from dSPACE.
Active error set variable This variable displays the number of the error set
that is currently activated. If no error set is activated, the value is '0'. You
can enter the name of another measurement variable to replace the default
variable. Select only an independent variable that cannot be overwritten by the
real-time model you are simulating. Otherwise, this variable might not monitor
the switching behavior of the fault simulation hardware correctly.
101
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Error activated variable This variable indicates whether one or more errors
are activated (= '1') or not (= '0'). You can enter the name of another
measurement variable to replace the default variable. Select only an independent
variable that cannot be overwritten by the real-time model you are simulating.
Otherwise, this variable might not monitor the switching behavior of the fault
simulation hardware correctly.
Error switching variable This variable indicates the transition state when
you switch the fault simulation hardware. '0' = No switching is in process.
(The fault simulation hardware is in the steady state.) '1' = Switching is in
process. (The fault simulation hardware is in the transition state.) The error
is switched physically during this transition state.You can enter the name of
another measurement variable to replace the default variable. Select only an
independent variable that cannot be overwritten by the real-time model you are
simulating. Otherwise, this variable might not monitor the switching behavior of
the fault simulation hardware correctly.
Flags variable This variable is used internally. Do not use this variable to
monitor the switching behavior of the fault simulation hardware.
Trigger variable This variable is used internally. Do not use this variable to
monitor the switching behavior of the fault simulation hardware.
Software trigger properties Software triggers let you activate error sets in response to a defined trigger
condition or duration. You can specify the trigger type for each error set
individually.
These properties are available only if you use an XIL API EESPort implementation
from dSPACE.
Polling interval Lets you specify the sampling rate for polling the trigger
variable of a trigger condition.
HowTos
References
102
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Purpose To perform an optional mapping of ECU pins that you are using in your dSPACE
HIL simulator to abstract signal names according to the ASAM AE XIL API
standard.
Properties These properties are available only if you use an XIL API EESPort implementation
from dSPACE.
ECU name Lets you specify the related ECU name for the pin.
Signal name Lets you specify an abstract name (user-defined string) for the
signal according to the ASAM AE XIL API standard.
Signals To perform an optional mapping of ECU pins that you are using in
your dSPACE HIL simulator to abstract signal names according to the ASAM AE
XIL API standard. Each ECU pin is specified by its Pin name and the related ECU
name.
Specifying ECUs and ECU pins depends on the fault simulation hardware you
use:
§ If you use a discrete FIU, you can specify the ECUs and ECU pins in a signal file.
§ If you use SCALEXIO HighFlex and MultiCompact hardware, you can specify
the ECUs and ECU pins via ConfigurationDesk.
§ If you use SCALEXIO FSX hardware, you can specify the ECUs and ECU pins via
the Signal List Editor.
References
Purpose To display information on the electrical error simulation port (XIL API EESPort)
implementation that is installed on the host PC.
103
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Properties EESPort implementation Lets you specify the XIL API EESPort
implementation.
Note
Product name Displays the product name of the XIL API EESPort
implementation.
Product version Displays the product version of the XIL API EESPort
implementation.
Vendor name Displays the vendor of the XIL API EESPort implementation.
XIL API version Displays the XIL API version of the EESPort implementation.
References
104
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Purpose To configure the general properties of an electrical error, such as the error
category and the error type.
Properties Error category To specify the error category of the error: e.g., Short to
Ground. The error category defines how a signal is disturbed. Which errors you
can create for a signal depends on the connected fault simulation hardware.
The following table gives you a short overview on the basic error categories
mentioned in the ASAM standard and the related terminology used by dSPACE
for the fault classes. For more detailed information, refer to Failure Classes
(dSPACE XIL API EESPort Implementation ).
Error type To specify the error type of the error: e.g., Loose Contact. The
error type specifies the way an error category – i.e., an interruption or short
circuit of signals – is provided. The error type defines the disturbance itself.
105
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Examples
References
Properties Duration Lets you specify a duration of the disturbance (error signal) in s.
Duty cycle Lets you specify the duty cycle of the disturbance (error signal) in
%. Observe the technical limitations for HighFlex and MultiCompact hardware.
Limitations for HighFlex and MultiCompact hardware:
§ The duty cycle must be in the range 0.0000344827 … 99.9999655173 %.
§ The frequency must be in the range 0.001724 … 5000.0 Hz.
Frequency Lets you specify the frequency of the disturbance (error signal) in
Hz.
Interrupt position Lets you specify the position for the interrupt of a bus line
if you are using a DS1450 Bus FIU Board. You can enter S1, S2, or S3.
106
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
The following illustration shows the interrupt positions S1, S2, and S3 in the bus
lines.
Potential A
Potential B
Real-time system
ECU
S1 Low S2 Low S3 Low
ControlDesk automatically detects if a CAN High or CAN Low signal line is used
to switch the related interrupt relay (Sx High or Sx Low).
Potential name Displays the name for the selected potential as specified in
the EESPort's Potentials properties. Potential names are displayed only if the
EESPort is in the Connected state.
For further details, refer to EESPort – Potentials Properties on page 99.
Resistor Lets you specify the resistance in Ω if you are using a DS293 FIU
Module.
For technical details, refer to DS293 FIU Module, DS282 Load Module and
DS289MK RSim Module (dSPACE XIL API EESPort Implementation ).
References
107
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Properties Active error set Displays the name of the error set that is currently active.
This property entry is empty if there is no active error set.
File name Displays the name of the error configuration's XML file in the
Windows file system.
File path Displays the file path of the error configuration's XML file in the
Windows file system.
108
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Error Configuration.................................................................................................................. 87
Error Configuration - Custom Properties................................................................................. 107
Error Configuration - Variable Mapping Properties.................................................................. 109
New ErrorConfiguration......................................................................................................... 142
Purpose To display and specify aliases for the condition triggers of the error sets of the
error configuration.
Properties Defines This list displays all the aliases for model parameters or variables of
the simulation application used to specify condition triggers for the single error
sets of the error configuration. You can use the list to change the mapping
of the model parameters or variables to the aliases. The list does not display
the related error set in which an alias is used. To have a clear overview, it is
recommended to use only unique symbol names in an error configuration.
Symbol name Displays the alias that specifies a condition trigger for one or
more error sets. Although symbol names can be edited and used independently
for each error set, it is recommended to use only unique symbol names in an
error configuration to have a clear overview.
109
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Purpose To specify the general properties of an error set, such as the name and trigger
type.
Properties Name Lets you specify the name of the error set. The name must be unique
in the related error configuration.
Trigger Type Lets you specify the trigger type to be used for starting the error
set.
Note
dSPACE XIL API .NET EESPort implementation supports only manual and
software triggers.
110
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Purpose To specify software trigger properties that activate the error set automatically.
Properties Duration Lets you specify a duration after which the error set is activated
automatically.
Condition Lets you specify a trigger condition to activate the error set
automatically if the trigger condition is fulfilled. Specify the trigger condition
according to the ASAM General Expression Syntax (GES). Click the Browse
button to specify this condition by means of the Expression Editor. Refer to
Expression Editor on page 112.
Type Lets you specify the type of the software trigger: Duration or
Condition.
References
Purpose To specify aliases to be used for the trigger condition of the error set.
111
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Properties Defines This list lets you specify aliases for specific model parameters or
variables of the simulation application. You can use the aliases to specify a
condition trigger for the error sets.
Symbol name Displays the alias that specifies the trigger condition for the
error set. You must map a measurement variable or parameter to this alias.
Although not required, it is recommended to use only unique symbol names in
an error configuration to have a clear overview.
References
Expression Editor
Access You can access this editor via the Browse button of the Software trigger –
Condition property of an error set.
Purpose To specify a trigger condition in the ASAM General Expression Syntax (GES) as a
string.
112
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Description You can use the Expression Editor to specify a trigger condition that complies
with the ASAM General Expression Syntax (GES).
Expressions that comply with this GES syntax let you specify conditions that
relate not only to one value at a certain time, but also to the change of values
over time (e.g., in signals).
In such an expression, you can use common logical operations (e.g., and) and
mathematical functions (e.g., sin). Furthermore, the GES provides functions, such
as posedge, that consider values and their predecessors for validation. You can
nest ASAM GES expressions to specify more complex conditions.
To edit the condition string, you can use the Expression Editor in two different
ways:
§ You can specify the expression by using the editor buttons Function,
Parameter, and Operator to select its functions, parameters, and operators.
§ You can manually enter the condition as an ASAM GES expression.
By default, the syntax of the condition is continuously checked, but you can
disable syntax checking to use aliases that you want to define later.
Tip
Note
If you check two floating-point values for equality, using the == operator
might lead to unexpected results. For example, (3 * 0.1 == 0.3) returns
False.
To take into account precision effects of the binary representation of float
values, it is useful to allow tolerances. For example, to check the equality of
a and b, use:
abs(b-a) < 1e-14
Settings of the editor The Expression Editor lets you specify the following settings:
113
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Alias Lets you select an alias from the mapping table or a definition from
the Defines data object that is available for the condition. The selected item is
inserted into the condition at the text cursor position.
ASAM GES expression Lets you edit a condition manually. This means you
can manually add parentheses and aliases that you want to define later.
Function Lets you select an ASAM XIL API function that is inserted into the
condition at the text cursor position.
Operator Lets you select an operator to insert into the condition at the text
cursor position.
Operator Meaning
&& Logical and of the left and right operands.
|| Logical or of the left and right operands.
^^ Logical exclusive or of the left and right operands.
! Logical not of the right operand.
&> Logical and then of the left and right operands.
< The left operand is smaller than the right operand.
<= The left operand is smaller than or equal to the right operand.
> The left operand is greater than the right operand.
>= The left operand is greater than or equal to the right operand.
== The left operand is equal to the right operand.
114
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Operator Meaning
!= The left operand is not equal to the right operand.
+ The sign of the right operand or the sum of the right and left
operands.
- The sign of the right operand or the difference of the right and left
operands.
* The product of the right and left operands.
/ The ratio of the right and left operands.
** The left operand to the power of the right operand.
Syntax check Lets you enable or disable continuous syntax checking of the
ASAM GES expression. By default, syntax checking is selected.
If syntax checking is selected, its result is displayed in a status icon and a status
message. The following status icons are provided:
Features of the editor The Expression Editor provides the following features to make reading and
writing conditions more convenient:
Bracket matching When you position the text cursor after a bracket, the text
cursor and the matching bracket are highlighted.
References
115
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Purpose To specify the general properties of a signal, such as name and load type.
Properties Load type Lets you specify load rejection during error simulation:
§ Select With load to leave the load connected during error simulation.
§ Select Without load to disconnect the load during error simulation.
Properties If the EESPort is configured, the displayed information is derived from the
signal file of a non-SCALEXIO system or the real-time application (RTA) file of
a SCALEXIO system.
Allowed error categories Displays a list of the allowed error categories and
the related load types of the ECU pin.
Allowed error category Displays an allowed error category of the ECU pin.
Allowed error types Displays a list of the allowed error types of the ECU pin.
Allowed error type Displays an allowed error type of the ECU pin.
Load type Displays one possible load type for the related error category.
116
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Properties
Signal....................................................................................................................................... 91
Signal - General Properties...................................................................................................... 116
117
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
118
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Properties.............................................................................................. 145
To open the Properties pane.
119
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Ungroup................................................................................................ 153
To remove a column header from the group panel to revoke the related
grouping of rows.
120
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Best Fit
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon None
121
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Clear Filter
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon ,
Clear Sorting
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
122
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Close (EESPort)
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
EESPort..................................................................................................................................... 84
Open (EESPort)....................................................................................................................... 144
Ribbon None
Context menu of Error configuration in the Project pane
Shortcut key None
Icon None
123
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Error Configuration.................................................................................................................. 87
Open (Error Configuration)..................................................................................................... 144
Configure (EESPort)
Purpose To configure the XIL API EESPort with vendor-specific information, i.e., the
properties you specified via the port configuration file.
Purpose To deactivate and stop the execution of an error configuration on the fault
simulation hardware.
124
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Disconnect (EESPort)
Purpose To disconnect the XIL API EESPort from the related fault simulation hardware.
Description The interface to the fault simulation hardware can now be used by another XIL
API EESPort client.
125
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
EESPort Configurations
EESPort Configurations pane The pane displays wiring information on the related hardware-in-the-loop (HIL)
simulator and specifications for the electrical error simulation: the ECU signals
(i.e., their names), their wiring (i.e., the connected ECU pins) and the allowed
error categories, error types, and load types for each ECU pin (see the following
example).
126
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
You can use the pane to map ECU pins to errors in the working area via drag &
drop.
The pane provides a wide range of commands for arranging and filtering the
displayed entries, for example, you can group rows or specify comprehensive
filter rules.
Tip
§ If you enlarge the column of an error category, the error category is also
displayed in text. Refer to the following example.
Icons for connected hardware The EESPort Configurations pane has the following icons for connected
hardware:
Icon Description
EESPort
ECU
Icons for error categories and The EESPort Configurations pane has the following icons for error categories
load types and load types:
127
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Interrupt at position –
Related commands The EESPort Configurations pane provides the following commands:
Purpose Refer to
To optimize the width of the selected column. Best Fit on page 121
To optimize the widths of all the displayed columns. Best Fit (All Columns) on page 121
To clear a filter that is set for a column. Clear Filter on page 122
To deactivate the sort attribute applied to the selected column. Clear Sorting on page 122
To open the Filter Editor to edit a filter rule. Filter Editor on page 131
To group the signals according to the entries of the column. Group by This Column on page 132
To open the Group Summaries editor. Group Summary Editor on page 133
To hide the group panel. Hide Group Panel on page 134
To close the search panel. Hide Search Panel on page 134
To reset the current configuration of the pane. Reset Settings on page 148
To open a dialog for specifying which columns to display. Show Column Chooser on page 149
To show the group panel. Show Group Panel on page 150
To show the search panel. Show Search Panel on page 151
To sort the rows alphabetically in ascending order by the selected Sort Ascending on page 152
column.
To sort the rows alphabetically in descending order by the selected Sort Descending on page 152
column.
To remove a column header from the group panel to revoke the related Ungroup on page 153
grouping of rows.
128
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Error Category
Ribbon None
Context menu of Error in an error set
Shortcut key None
Icon None
Note
Description The error category defines how a signal is disturbed. Which errors you can create
for a signal depends on the connected fault simulation hardware.
The following table gives you a short overview on the basic error categories
mentioned in the ASAM standard and the related terminology used by dSPACE
for the fault classes. For more detailed information, refer to Failure Classes
(dSPACE XIL API EESPort Implementation ).
129
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Tip
You can also specify the error category in the Properties pane. Refer to
Error - General Properties on page 105.
Error......................................................................................................................................... 86
Ribbon None
Context menu of Error configuration in the Project pane
Shortcut key None
Icon None
Note
Result Opens a standard Save As dialog to export the error configuration as an XML file
to the Windows file system.
Export PortConfiguration
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
130
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Note
EESPort..................................................................................................................................... 84
Filter Editor
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon ,
Result The Filter Editor is opened to create and apply a filter rule.
Filter Editor The Filter Editor provides a tree view for specifying a hierarchical filter rule, for
example, by using Boolean operators.
131
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Red word Click the red word to select a logical operator or a command for
combining conditions. The following logical operators are available:
Command Description
Add Condition, , +, or Insert Lets you add a condition.
Blue word Click the blue word to select a column of the table whose value is
then compared with a specified value.
You can apply a filter rule by pressing the OK or Apply button. Pressing the OK
button closes the editor.
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
132
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Description You can create nested groups. If you selected a column for grouping, you can
unselect it via Ungroup in the context menu of its column header.
Access You can access this command only via the context menu of column headers that
are moved to the group panel of the EESPort Configurations pane.
Note
Group summary editor Lets you display summary information for selected items in each group row.
133
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Access This command is available only if the group panel is displayed. You can access
this command via:
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon None
Access This command is available only if the search panel is shown. You can access this
command via:
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
134
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Highlight Pin
Ribbon None
Context menu of Signal in an error
Shortcut key None
Icon None
Import ErrorConfiguration
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
135
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Note
Purpose To import an error configuration as an XML file from the Windows file system.
Result ControlDesk opens a standard Open dialog for you to select an error
configuration (XML) file to be imported to the EESPort.
In the Windows file system, the imported error configuration (XML) file is stored
as a local working copy in the folder of the EESPort.
EESPort..................................................................................................................................... 84
Insert EESPort
Note
Result The EESPort Implementation dialog opens for you to specify and create a new
XIL API EESPort.
EESPort Implementation The dialog lets you select or create a port configuration (PORTCONFIG) file for
dialog the new EESPort.
136
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Cancel Lets you cancel the creation of the new XIL API EESPort.
Configure after creation Lets you configure the XIL API EESPort
automatically after its creation to connect it with the related fault simulation
hardware. (The list on the EESPort Configurations pane is empty as long as no
dSPACE XIL API EESPort is configured.)
If you enable this property when creating a new port configuration
(PORTCONFIG) file, ControlDesk performs a preconfigured potential mapping
based on the potential names that are provided for your fault simulation
hardware. Refer to How to Create a New Port Configuration File on page 46.
(You can change this preconfigured potential mapping afterwards in the
Properties pane.)
Note
Finish Lets you create the specified XIL API EESPort in the Project pane.
For dSPACE fault simulation hardware:
§ If you selected an existing port configuration file, a local working copy of
the port configuration file is copied to the related EESPort subfolder of the
ControlDesk experiment in the Windows file system.
§ If you did not select an existing port configuration file, a new port
configuration file is created in the related EESPort subfolder of the ControlDesk
experiment in the Windows file system.
Name Lets you specify the name of the XIL API EESPort to be created. The
name must be unique in the ControlDesk experiment.
Next (for an XIL API EESPort implementation from dSPACE only) Lets you
change to the PortConfiguration Settings dialog to specify further hardware-
specific properties for the EESPort.
Port configuration file Lets you select a port configuration file for the
EESPort. To interface the fault simulation hardware, an EESPort needs the
hardware-dependent port configuration file (PORTCONFIG file). The file's
contents must fit the connected HIL simulator architecture and its fault
simulation hardware.
137
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Product name Displays the product name of the XIL API EESPort
implementation.
Product version Displays the product version of the XIL API EESPort
implementation.
Vendor name Displays the vendor of the XIL API EESPort implementation.
XIL API version Displays the XIL API version of the EESPort implementation.
PortConfiguration Settings If you use an XIL API EESPort implementation from dSPACE, this dialog lets you
dialog configure further hardware-specific properties of the EESPort.
Note
The properties that are displayed in this dialog depend on the selected type
of dSPACE hardware that you are using for the electrical error simulation.
Refer to the Type property.
Cancel Lets you cancel the creation of the new XIL API EESPort.
Configuration Lets you specify properties that are related to the dSPACE
hardware that you are using for the electrical error simulation.
For further information, refer to EESPort - Configuration Properties on page 94.
Experiment platform name Lets you select the name of a platform that
is used by the ControlDesk experiment. This platform must represent the HIL
simulator which executes the real-time application that provides the specific
measurement variables for monitoring the switching behavior of the fault
simulation hardware.
Note
Finish Lets you create the specified XIL API EESPort in the Project pane.
138
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Logging For support only, lets you enable logging. Logging essentially
increases the execution time. Do not enable logging in normal operating
situations. Enable logging only if you want to contact dSPACE Support.
Real-time platform name Lets you specify the platform name of the
real-time platform which executes the real-time application that provides the
specific measurement variables for monitoring the switching behavior. This
platform name must be the same as the platform name in the ControlDesk
Platforms/Devices pane. (In the port configuration file, this property is
represented by the PlatformName attribute of the RealTimeConfiguration
element.)
Signals To perform an optional mapping of ECU pins that you are using in
your dSPACE HIL simulator to abstract signal names according to the ASAM AE
XIL API standard. Each ECU pin is specified by its Pin name and the related ECU
name.
Specifying ECUs and ECU pins depends on the fault simulation hardware you
use:
§ If you use a discrete FIU, you can specify the ECUs and ECU pins in a signal file.
§ If you use SCALEXIO HighFlex and MultiCompact hardware, you can specify
the ECUs and ECU pins via ConfigurationDesk.
§ If you use SCALEXIO FSX hardware, you can specify the ECUs and ECU pins via
the Signal List Editor.
Refer to EESPort – Signals Properties on page 103.
139
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Software trigger Software triggers let you activate error sets in response to
a defined trigger condition or duration. You can specify the trigger type for each
error set individually.
Tracing To monitor the switching behavior and transition states of the fault
simulation hardware via specific measurement variables. These variables are
independent from other model variables. They do not measure the real behavior
of the fault simulation hardware, they only estimate it according to empirical
values. The variables are written and read‑only by the XIL API EESPort.
Refer to EESPort – Real-Time Configuration Properties on page 100.
Type Lets you select the dSPACE hardware that you are using for the electrical
error simulation.
Variable description file path Lets you specify the path of the variable
description (SDF) file that contains the specific measurement variables for
monitoring the switching behavior of the fault simulation hardware. (In
the related port configuration file, this property is represented by the
SystemDescriptionFilePath attribute of the RealTimeConfiguration
element.)
HowTos
References
EESPort..................................................................................................................................... 84
EESPort - Configuration Properties............................................................................................ 94
140
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Lock Scrolling
Ribbon None
Context menu of § Error configuration in the working area
§ Error set in the working area
§ Error in an error set
§ Signal in an error set
Shortcut key None
Icon None
Note
Purpose To lock the view of the error sets displayed in the working area when triggering
errors.
Description The working area is usually too small to display all the error sets of an
error configuration. That is why, ControlDesk scrolls the view to the currently
activated error set by default when you are triggering errors. If you do not want
ControlDesk to change the view automatically, you can use the Lock Scrolling
command to lock the error sets that are displayed. ControlDesk proceeds with
the triggering, but the currently activated error set is then outside the working
area until you revoke the command.
New Error
Ribbon None
Context menu of § Error set in the working area
§ Error in an error set
§ Signal in an error set
141
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Note
Error......................................................................................................................................... 86
New ErrorConfiguration
Note
EESPort..................................................................................................................................... 84
Error Configuration - General Properties................................................................................. 108
Open (Error Configuration)..................................................................................................... 144
142
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
New ErrorSet
Ribbon None
Context menu of § Error configuration in the working area
§ Error set in the working area
§ Error in an error set
§ Signal in an error set
Shortcut key None
Icon None
Note
Purpose To create a new error set in an error configuration in the working area.
Error Configuration.................................................................................................................. 87
Error Set................................................................................................................................... 89
New Signal
Ribbon None
Context menu of § Error in an error set
§ Signal in an error set
Shortcut key None
Icon None
Note
143
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Signal....................................................................................................................................... 91
Open (EESPort)
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
Ribbon None
Context menu of Error configuration in the Project pane
Shortcut key None
Icon None
144
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Properties
Ribbon None
Context menu of § EESPort in the Project pane
§ Error configuration in the Project pane
§ Error configuration in the working area
§ Error configuration page in the working area
§ Error set in the working area
§ Error in an error set
§ Signal in an error set
Shortcut key None
Icon
Ribbon None
Context menu of Error configuration in the Project pane
Shortcut key None
Icon None
Note
145
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Reload PortConfiguration
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
Note
Result ControlDesk reloads the original port configuration (PORTCONFIG) file that you
selected when you created the EESPort. Changes to the port configuration you
made since the EESPort was created are lost.
If you use dSPACE fault simulation hardware, in the related EESPort subfolder
of the ControlDesk experiment in the Windows file system, the local working
copy of the port configuration file is replaced with a new copy of original port
configuration file.
EESPort..................................................................................................................................... 84
Insert EESPort......................................................................................................................... 136
Replace PortConfiguration...................................................................................................... 147
146
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Replace PortConfiguration
Ribbon None
Context menu of EESPort in the Project pane
Shortcut key None
Icon None
Note
Result ControlDesk opens a standard Open dialog for you to select a new port
configuration (PORTCONFIG) file for the EESPort from the Windows file system.
Changes to the port configuration you made since the EESPort was created are
lost.
If you use dSPACE fault simulation hardware, in the related EESPort subfolder
of the ControlDesk experiment in the Windows file system, the local working
copy of the port configuration file is replaced with a copy of the new port
configuration file.
Description If you replace the port configuration file, you might not need to modify your
EESPort application when you want to run the electrical error simulation on
another simulator with a similar architecture that supports the configured error
sets and errors.
EESPort..................................................................................................................................... 84
Insert EESPort......................................................................................................................... 136
Reload PortConfiguration....................................................................................................... 146
147
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Reset Settings
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon None
Ribbon None
Context menu of Error configuration in the Project pane
Shortcut key None
Icon None
Note
148
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
Column Chooser With the Column Chooser, you can specify which columns to display in the
EESPort Configurations pane. The column headers displayed in the Column
Chooser represent the columns that are not displayed (see the following
example).
To remove a column from the pane, drag it to the Column Chooser. To add a
column to the pane, drag it from the dialog back to the pane.
149
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Access This command is available only if the group panel is not shown. You can access
this command via:
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
Group panel The group panel lets you group rows according to selected column headers (see
the following example).
Selected column headers Group panel
You can select or deselect column headers by dragging them to or from the
group panel. If you drag multiple column headers to the group panel, the
resulting row grouping is arranged hierarchically.
If the group panel is not shown, you can display it with the Show Group Panel
command.
If you want to reset the current configuration of the group panel, use the Reset
Settings command.
Clear Grouping (available from the context menu of the group panel) Lets
you clear the currently selected grouping.
150
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Full Collapse (available from the context menu of the group panel) Lets you
collapse all the rows of the grid.
Full Expand (available from the context menu of the group panel) Lets you
fully expand all the rows of the grid.
Access This command is available only if the search panel is not shown. You can access
this command via:
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key Ctrl+F
Icon None
Search panel
In the edit field of the search panel, you can specify a search substring.
Immediately, only rows containing this substring are displayed. Each occurrence
of the substring is highlighted in yellow. Numbers and letters are not
distinguished.
151
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Sort Ascending
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
Purpose To sort the rows alphabetically in ascending order by the selected column.
Sort Descending
Ribbon None
Context menu of Column header in the EESPort Configurations pane
Shortcut key None
Icon
Purpose To sort the rows alphabetically in descending order by the selected column.
152
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Note
dSPACE XIL API .NET EESPort implementation supports only manual and
software triggers.
Error Set................................................................................................................................... 89
Lock Scrolling......................................................................................................................... 141
Ungroup
Access You can access this command only via the context menu of column headers that
are moved to the group panel of the EESPort Configurations pane.
153
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
Purpose To remove a column header from the group panel to revoke the related grouping
of rows.
Description The fault simulation hardware is disconnected from the original host PC. The
interface of the fault simulation hardware can now be used by another host PC.
154
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Electrical Error Simulation Commands
Note
Description You can extend an error configuration that is downloaded to a fault simulation
hardware with new error sets. New error sets are always added behind the
last error set of an error configuration. You can use the Update command to
download the added error sets to the fault simulation hardware.
Error Configuration.................................................................................................................. 87
Error Set................................................................................................................................... 89
155
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Reference Information
156
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Automation
Automation
157
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Automation
Automating Electrical Error Simulation via XIL API EESPort............. ........ 158
ControlDesk's XIL API EESPort automation interface extends the dSPACE
XIL API by ControlDesk‑specific automation interfaces.
Introduction ControlDesk's XIL API EESPort automation interface extends the dSPACE XIL API
by ControlDesk‑specific automation interfaces.
Note
If you only use ControlDesk's XIL API EESPort automation interface you
cannot fully automate electrical error simulation.
For example, you cannot:
§ Create and configure new errors
§ Download error configurations and trigger error sets
To prepare an electrical error simulation via automation, use the dSPACE XIL
API .NET implementation, which supports the Electrical Error Simulation Port
(EESPort).
Automation interfaces The following list shows the main interfaces for automating electrical error
simulation via XIL API EESPort.
Interface Description
IXaXILAPIEESPort (refer to XILAPIEESPort / IXaXILAPIEESPort Interface for accessing the XIL API EESPort.
<<Interface>> (ControlDesk Automation ))
IXaAvailableEESPortImplementations (refer Interface for accessing the list of
to AvailableEESPortImplementations / ErrorConfigurations.
IXaAvailableEESPortImplementations <<Collection>> (ControlDesk
Automation ))
158
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Programming ControlDesk Automation
Interface Description
IXaEESPorts (refer to EESPorts / IXaEESPorts <<Collection>> Interface for accessing the list of XIL API
(ControlDesk Automation )) EESPorts.
IXaEESPort (refer to EESPort / IXaEESPort <<Interface>> (ControlDesk Interface for accessing a single EESPort.
Automation ))
IXaEESPortImplementation (refer to EESPortImplementation / Interface for accessing information about a
IXaEESPortImplementation <<Interface>> (ControlDesk single XIL API EESPort implementation.
Automation ))
IXaErrorConfiguration (refer to ErrorConfiguration / Interface for accessing a single
IXaErrorConfiguration <<Interface>> (ControlDesk Automation )) ErrorConfiguration.
IXaErrorConfigurations (refer to ErrorConfigurations / Interface for accessing the list of
IXaErrorConfigurations <<Collection>> (ControlDesk Automation )) ErrorConfigurations.
159
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Automation
Introduction ControlDesk's XIL API EESPort lets you add and edit XIL API EESPort
configurations.
Description The object that implements the IXaXILAPIEESPort interface is used to configure
the XIL API EESPort.
The collection that implements the IXaEESPorts interface is used to add and edit
XIL API EESPort configurations.
Related interfaces
Interface Description
IXaXILAPIEESPort (refer to XILAPIEESPort / Interface for accessing the XIL API EESPort.
IXaXILAPIEESPort <<Interface>> (ControlDesk
Automation ))
IXaAvailableEESPortImplementations (refer Interface for accessing the list of ErrorConfigurations.
to AvailableEESPortImplementations /
IXaAvailableEESPortImplementations <<Collection>>
(ControlDesk Automation ))
IXaEESPorts (refer to EESPorts / IXaEESPorts Interface for accessing the list of XIL API EESPorts.
<<Collection>> (ControlDesk Automation ))
IXaEESPort (refer to EESPort / IXaEESPort <<Interface>> Interface for accessing a single EESPort.
(ControlDesk Automation ))
IXaEESPortImplementation (refer to Interface for accessing information about a single XIL API
EESPortImplementation / IXaEESPortImplementation EESPort implementation.
<<Interface>> (ControlDesk Automation ))
IXaErrorConfiguration (refer to ErrorConfiguration / Interface for accessing a single ErrorConfiguration.
IXaErrorConfiguration <<Interface>> (ControlDesk
Automation ))
IXaErrorConfigurations (refer to ErrorConfigurations / Interface for accessing the list of ErrorConfigurations.
IXaErrorConfigurations <<Collection>> (ControlDesk
Automation ))
160
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
XIL API EESPort
Related documentation
Topic Description
Automating Electrical Error Simulation via XIL API EESPort ControlDesk's XIL API EESPort automation interface
on page 158 extends the dSPACE XIL API by ControlDesk‑specific
automation interfaces.
161
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Automation
162
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Troubleshooting
Troubleshooting
Problem You cannot activate short circuits between pins of different channel categories
in ControlDesk if the allowed fault classes are specified incompletely in
ConfigurationDesk.
Solution To activate short circuits between pins of different channel categories (i.e.,
signal measurement channels, signal generation channels, and bus channels),
the desired signals have to allow each other their corresponding fault class in
ConfigurationDesk.
The following example shows the required setting in ConfigurationDesk for a pin
of a signal measurement channel that is allowed for a short circuit to a signal
generation channel.
163
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Troubleshooting
For the corresponding signal generation channel, you have to allow a short
circuit to a signal measurement channel.
164
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Limitations
Limitations
Limitations For information on the limitations of the dSPACE XIL API implementation when
using EESPort, refer to Limitations (dSPACE XIL API EESPort Implementation ).
165
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Limitations
166
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Glossary
Glossary
Introduction Briefly explains the most important expressions and naming conventions used in
the ControlDesk documentation.
Numerics............................................................................................... 168
A........................................................................................................... 168
B........................................................................................................... 169
C........................................................................................................... 170
D........................................................................................................... 174
E........................................................................................................... 178
F............................................................................................................ 180
G........................................................................................................... 181
H........................................................................................................... 182
I............................................................................................................ 182
K........................................................................................................... 184
L............................................................................................................ 184
M.......................................................................................................... 185
N........................................................................................................... 189
O........................................................................................................... 189
P........................................................................................................... 190
Q........................................................................................................... 192
R........................................................................................................... 193
S........................................................................................................... 194
167
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
T........................................................................................................... 197
U........................................................................................................... 198
V........................................................................................................... 199
W.......................................................................................................... 201
X........................................................................................................... 202
Numerics
A2L file A file that contains all the relevant information on measurement
and calibration variables in an ECU application and the ECU's communication
interface(s). This includes information on the variables' memory addresses and
conversion methods, the memory layout and data structures in the ECU as well
as interface description data (IF_DATA) .
Application image An image file that contains all the files that are created
when the user builds a real-time application. It particularly includes the variable
description (SDF) file. To extend a real-time application, ControlDesk lets the user
create an updated application image from a data set. The updated application
168
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
B
Bar An instrument (or a value cell type of the Variable Array ) for displaying
a numerical value as a bar deflection on a horizontal or vertical scale.
Bitfield A value cell type of the Variable Array for displaying and editing
the source value of a parameter as a bit string.
Browser An instrument for displaying Web pages and different file types,
e.g., PDF, HTML and TXT files.
169
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Bus Navigator
§ Bus Navigator in ControlDesk
A ControlDesk component for handling bus messages, such as CAN messages,
LIN frames, and Ethernet packets.
§ Bus Navigator (stand-alone)
A dSPACE software product for handling bus messages, such as CAN
messages, LIN frames, and Ethernet packets.
There are some restrictions when you use the Bus Navigator (stand-alone). For
example, going online and measuring is only supported for bus monitoring
devices.
Using the Bus Navigator (stand-alone) does not require a license for the
ControlDesk main version.
Bus Navigator pane A pane for handling bus messages, such as CAN
messages, LIN frames, and Ethernet packets.
Bus statistics A feature of the Bus Navigator that lets you display
and log statistical information on the bus load during monitoring (of bus
communication) .
170
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
C
conditions, but without having to have a real ECU connected to the PC.
Communication between the CalDemo ECU and ControlDesk can be established
via XCP on CAN or XCP on Ethernet, and UDS on CAN.
Tip
The memory of the CalDemo ECU consists of two areas called memory page .
Each page contains a complete set of parameters, but only one page is accessible
by the CalDemo ECU at a time. You can easily switch the memory pages of the
CalDemo ECU to change from one parameter to another in a single step.
Two ECU tasks run on the CalDemo ECU:
§ ECU task #1 runs at a fixed sample time of 5 ms. In ControlDesk's
Measurement Configuration, ECU task #1 is related to the time-based 5 ms,
10 ms, 50 ms and 100 ms measurement rasters of the CalDemo ECU.
§ ECU task #2 has a variable sample time. Whenever the CalDemo ECU program
is started, the initial sample time is 5 ms. This can then be increased or
decreased by using the dSPACE CalDemo dialog.
ECU task #2 is related to the extEvent measurement raster of the
CalDemo ECU.
The CalDemo ECU can also be used to execute diagnostic services and jobs,
handle DTCs and perform measurement and calibration via ECU diagnostics.
The CalDemo ECU program is run by invoking CalDemo.exe. The file is located
in the .\Demos\CalDemo folder of the ControlDesk installation.
CAN Bus Monitoring device A device that monitors the data stream on a
CAN bus connected to the ControlDesk PC.
The CAN Bus Monitoring device works, for example, with PC-based CAN
interfaces such as the DCI-CAN2 or the DCI-CAN/LIN1 .
The device supports the following variable description file types:
§ DBC
§ FIBEX
§ AUTOSAR system description (ARXML)
171
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
The CANGenerator allows you to use the CAN Bus Monitoring device under
realistic conditions, but without having to have any device hardware connected
to the PC.
The CAN (Controller Area Network) protocol is used for communication between
the CANGenerator and ControlDesk. However, since the CANGenerator runs
on the same PC as ControlDesk, ControlDesk does not communicate with the
device via a real CAN channel, but via a virtual CAN channel implemented on
the host PC.
You can start the CAN generator program by running CANGenerator.exe.
The file is located in the .\Demos\CANGenerator folder of the ControlDesk
installation.
CCP device A device that provides access to an ECU with CCP connected
to the ControlDesk PC via CAN, for example, for measurement and calibration
purposes via CCP (CAN Calibration Protocol) .
Check Button An instrument (or a cell type of the Variable Array ) for
displaying whether the value of a connected variable matches predefined values
or for writing a predefined value to a connected variable.
172
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
C
%PROGRAMDATA%\dSPACE\<ProductName>\<VersionNumber>
Tip
Connection mode dSPACE real‑time systems can be installed within the host
PC or connected to the host via a bus interface and/or via Ethernet. When the
Ethernet is being used, different network clients might exist. The connection
type being used and, in the case of Ethernet, the network client being used,
determine the dSPACE systems that can be accessed.
173
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Data cursor One or two cursors that are used to display the values of
selected chart positions in a Time Plotter or an Index Plotter .
Data logger signal list A list that contains the variables to be included in
subsequent data loggings on real-time hardware.
174
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
D
175
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Each device usually has a variable description that specifies the device’s
variables to be calibrated and measured.
Diagnostic job (often called Java job) Programmed sequence that is usually
built from a sequence of the diagnostic service . A diagnostic job is either a
single-ECU job or a multiple-ECU job, depending on whether it communicates
with one ECU or multiple ECUs.
176
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
D
Display An instrument (or a value cell type of the Variable Array ) for
displaying the value of a scalar variable or the text content of an ASCII variable.
Tip
177
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
178
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
E
ECU Image file A binary file that is part of the ECU application . It usually
contains the code of an ECU application and the data of the parameters within
the application. It can be stored as an Intel Hex (HEX) or Motorola S‑Record
(MOT or S19) file.
Error category The error category defines how a signal is disturbed. Which
errors you can create for a signal depends on the connected fault simulation
hardware.
Error type The error type specifies the way an error category – i.e., an
interruption or short circuit of signals – is provided. The error type defines the
disturbance itself.
179
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Ethernet Bus Monitoring device A device that monitors the data stream on
an Ethernet network connected to the ControlDesk PC.
The device supports the following variable description file type:
§ AUTOSAR system description (ARXML)
Ethernet decoding A feature of the Bus Navigator that lets you view
protocol data and raw data of an Ethernet frame.
Event context The scope of validity of event sources and events . There is
one event handler code area for each event context.
Event handler Code that is executed when the related event occurs.
Extension script A Python script (PY or PYC file) that is executed each time
ControlDesk starts up. An extension script can be executed for all users or
user-specifically.
Fault memory Part of the ECU memory that stores diagnostic trouble code
(DTC) entries with status and environment information.
180
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
G
Firmware update An update for the firmware installed in the board’s flash
memory. Firmware should be updated if it is older than required by the real-time
application to be downloaded.
Fixed axis An axis with data points that are not deposited in the ECU
memory. Unlike a common axis , a fixed axis is specified within a curve or
map . The parameters of a fixed axis cannot be calibrated.
Flash job A specific diagnostic job for flashing the ECU memory. A flash
job implements the process control for flashing the ECU memory, such as
initialization, security access, writing data blocks, etc.
GNSS device A device that provides positioning data from a GNSS receiver
(e.g., a serial GPS mouse) in ControlDesk.
The device that supports various global navigation satellite systems.
181
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
GPX file An XML file that contains geodata, such as waypoints, routes, or
tracks. In ControlDesk, you can import GPX files to visualize GNSS positioning
data in a Map instrument.
Index Plotter A plotter instrument for displaying signals that are measured
in an event-based raster (index plots).
182
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
I
§ Display
§ Fault Memory Instrument
§ Frame
§ Gauge
§ Heading Indicator
§ Hierarchy Array
§ Index Plotter
§ Invisible Switch
§ Knob
§ Multistate Display
§ Multiswitch
§ Numeric Input
§ On/Off Button
§ Push Button
§ Radio Button
§ Selection Box
§ Slider
§ Sound Controller
§ Static Text
§ Steering Controller
§ Table Editor
§ Time Plotter
§ Variable Array
§ XY Plotter
183
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
error messages and standard output during the execution or import of Python
scripts.
Knob An instrument for displaying and setting the value of the connected
variable by means of a knob on a circular scale.
Label list A list of user-defined variables that can be used for saving
connected variables, etc.
LIN Bus Monitoring device A device that monitors the data stream on a LIN
bus connected to the ControlDesk PC.
The LIN Bus Monitoring device works, for example, with PC-based LIN interfaces.
The device supports the following variable description file types:
§ LDF
§ FIBEX
§ AUTOSAR system description (ARXML)
Load type The load type specifies the option to disturb a signal with or
without load rejection.
184
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
M
Tip
Logging (of bus communication) A feature of the Bus Navigator that lets
you log raw bus communication data. You can add logger nodes on different
hierarchy levels of the Bus Navigator tree for this purpose. You can specify
filters to log filtered bus communication. The logged bus communication can be
replayed .
Look-up table A look-up table maps one or more input values to one output
value. You have to differentiate between the following look-up table types:
§ A 1-D look-up table maps one input value to one output value.
§ A 2-D look-up table maps two input values to one output value.
§ An n-D look-up table maps multidimensional table data with 3 or more input
values to one output value.
Look-up table is a generic term for curves and maps .
185
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
§ A 1‑dimensional array containing the axis points for the y‑axis. This array can
also be specified by a reference to a common axis .
§ A 2–dimensional array containing data points. The map assigns one data point
of the array to each pair of x‑axis and y‑axis points.
Maps are represented by the symbol.
Map file A file that contains symbols (symbolic names) and their physical
addresses. It is generated during the build process of an ECU application .
186
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
M
Measurement variable Any variable type that can be measured but not
calibrated.
187
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Multistate LED A value cell type of the Variable Array and Hierarchy
Array for displaying the value of a variable as an LED state.
188
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
N
Numeric Input An instrument (or a value cell type of the Variable Array )
for displaying and setting the value of the connected variable numerically.
Observing variables Reading variable values cyclically from the dSPACE real-
time hardware and displaying their current values in ControlDesk, even if no
measurement is running. Variable observation is performed without using a
measurement buffer, and no value history is kept.
For platforms that support variable observation, variable observation is available
for parameters and measurement variables that are visualized in single-shot
instruments (all instruments except for a plotter ). If you visualize a variable
in a single‑shot instrument, the variable is not added to the measurement signal
list . Visualizing a parameter or measurement variable in a plotter automatically
adds the variable to the measurement signal list .
ControlDesk starts observing variables if one of the following conditions is true:
§ Online Calibration is started for the platform.
All the parameters and measurement variables that are visualized in single‑shot
instruments are observed.
§ Measurement is started for the platform.
All the visualized parameters and measurement variables that are not
activated for measurement in the measurement signal list are observed. Data
of the activated parameters and measurement variables is acquired using
measurement rasters.
189
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
On/Off Button An instrument (or a value cell type of the Variable Array )
for setting the value of the connected parameter to a predefined value when the
button is pressed (On value) and released (Off value).
Pane A separate area of the ControlDesk user interface that provides access
to a specific component, such as the Bus Navigator.
190
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
P
§ Weak limits
Weak limits designate the value range of a parameter that you should not
cross during calibration. When you cross the value range defined by the weak
limits, ControlDesk warns you.
In ControlDesk, you can edit the weak limits of a parameter within the value
range given by the parameter’s hard limits.
191
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Push Button An instrument (or a value cell type of the Variable Array ) for
setting the value of the connected parameter by push buttons.
192
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
R
Radio Button An instrument for displaying and setting the value of the
connected parameter by radio buttons.
Record layout A record layout is used to specify a data type and define the
order of the data in the memory of the target system (ECU, for example). For
scalar data types, a record layout allows you to add an address mode (direct or
indirect). For structured (aggregated) data types, the record layout specifies all
the structure elements and the order they appear in.
The RECORD_LAYOUT keyword in an A2L file is used to specify the various record
layouts of the data types in the memory. The structural setup of the various data
types must be described in such a way that a standard application system will be
able to process all data types (reading, writing, operating point display etc.).
Reduction data Additional content in an MF4 file that allows for visualizing
the MF4 file data depending on the visualization resolution. Reduction data
therefore improves the performance of the visualization and postprocessing of
measurement data.
Reference data set A read-only data set assigned to the reference page of a
device that has two memory pages . There can be only one reference data set
for each device. The reference data set is read‑only.
193
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Note
Replay (of bus communication) A feature of the Bus Navigator that lets
you replay logged bus communication data from a log file. You can add replay
nodes to the Bus Navigator tree for this purpose. You can specify filters to replay
selected parts of the logged bus communication .
SDF file A file that describes a dSPACE simulation application , including the
contained parameters and measurement variables. SDF files are created during
the build process.
194
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
S
Selection Box An instrument for selecting a text-value entry and setting the
respective numerical value for the connected variable.
Signal
§ Representation of a variable measured in a specific measurement raster .
§ Generic term for segment signals and operation signals .
A signal is part of a signal description set which can be displayed and edited
in the working area.
Signal file A file that contains the wiring information of a simulator and that
is part of the standard dSPACE documentation of dSPACE Simulator Full-Size.
Normally, dSPACE generates this file when designing the simulator. Before using
a fault simulation system, users can adapt the signal file to their needs.
Signal Selector A pane of the Signal Editor . The Signal Selector provides
signals and segments for arranging and configuring signal description
sets in the working area .
195
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Slider An instrument (or a value cell type of the Variable Array ) for
displaying and setting the value of the connected variable by means of a slide.
Standard axis An axis with data points that are deposited in the ECU
memory. Unlike a common axis , a standard axis is specified within a
curve or map . The parameters of a standard axis can be calibrated, which
affects only the related curve or map.
196
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
T
Struct A variable with the struct data type. A struct contains a structured list
of variables that can have various data types. In ControlDesk, a struct variable
can contain either parameters and value blocks or measurement variables and
measurement arrays. ControlDesk supports nested structs, i.e., structs that
contain further structs and struct arrays as elements.
Structs are represented by the symbol.
STZ file A ZIP file containing signal descriptions in the STI format. The STZ file
can also contain additional MAT files to describe numerical signal data.
Sub data set A data set that does not contain the complete set of the
parameters of a platform/device.
Time cursor A cursor which is visible at the same time position in the
following instruments:
§ In all Time Plotters
§ In all XY Plotters
§ In all bus monitoring lists
197
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
You can use the time cursor to view signal values at a specific point in time. If
you move the time cursor, all measured signals and the respective parameters
are updated. Instruments and bus monitoring lists display the values that are
available at the selected time position.
Time Plotter A plotter instrument for displaying signals that are measured
in a time-based raster (time plots).
TRC file A variable description file with information on the variables available
in an environment model running on a dSPACE platform .
Unassigned data set A data set that is assigned neither to the working
page nor to the reference page of a platform/device. An unassigned data set
can be defined as the new working or reference data set. It then replaces the
“old“ working or reference data set and is written to the corresponding memory
page, if one is available on the platform/device.
198
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
V
Tip
A device for which the connection between ControlDesk and the device
hardware currently is interrupted is also set to the 'unplugged' state when
you start online calibration if both the following conditions are fulfilled:
§ The device's Start unplugged property is enabled.
§ The Start online calibration behavior property is set to 'Ignore
differences'.
This is possible for CCP and XCP devices. For details on the two properties
listed above, refer to General Settings Properties (ControlDesk Platform
Management ).
199
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
Variable alias An alias name that lets the user control the property of a
segment by a model parameter of a real-time application.
Vehicle information The ODX database can contain information for one
or more vehicles. Vehicle information data is used for vehicle identification
purposes and for access to vehicles. It references the access paths (logical links)
to the ECUs.
VEOS A simulator which is part of the PC and allows the user to run an
offline simulation application (OSA) without relation to real time.
200
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
W
VEOS platform A platform that configures and controls the offline simulation
application (OSA) running in VEOS and that also provides access to the
application's environment VPU .
Working area An area of the user interface of ControlDesk where you can
edit documents, such as layouts , Python scripts, or signal description sets .
Each document is displayed on a separate page .
Working data set The data set currently residing in the memory of a
platform/device hardware. There can be only one working data set for each
calibration platform/device. The working data set is read/write.
201
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
XCP on CAN device A device that provides access to an ECU with XCP
connected to the ControlDesk PC via CAN. Using the XCP on CAN device, you
can access the ECU for measurement and calibration purposes via XCP (Universal
Measurement and Calibration Protocol).
XCP on Ethernet device A device that provides access to an ECU or
V‑ECU with XCP connected to the ControlDesk PC via Ethernet. The XCP
on Ethernet device provides access to the ECU/V-ECU via XCP (Universal
Measurement and Calibration Protocol) for measurement and calibration
purposes.
202
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
X
XIL mapping file An XML file according to the ASAM XIL standard
that contains, for example, all the information required for variable
mapping (identifier mapping):
§ Framework labels
§ Testbench labels
§ Label mappings
XIL mapping files can be created by different tools in the dSPACE XIL mapping
tool chain, for example, by ConfigurationDesk. In ControlDesk, framework labels
from these files can be used for variable mapping.
203
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Glossary
204
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024
Index
P
Index
A Platforms/Devices pane 191
Activate (error configuration) command 120 port configuration 17
potential mapping 17
Project pane 192
C
Properties command 145
Close (EESPort) command 123 Properties pane 192
Close (Error Configuration) command 123
Common Program Data folder 8, 172
R
Configure (EESPort) command 124
Reload (Error Configuration) command 145
Reload PortConfiguration command 146
D
Replace PortConfiguration command 147
Deactivate (error configuration) command 124
Disconnect (EESPort) command 125
S
Documents folder 8, 177
Download (Error Configuration) command 125 Save (Error Configuration) command 148
search panel 151
signal mapping 17
E
electrical error simulation basics
T
for SCALEXIO FIU 20
for systems without SCALEXIO FIU 26 Trigger (error configuration) command 153
electrical errors 22
SCALEXIO system 22 U
Error category command 129
Unload (Error Configuration) command 154
error configuration 17
Update (Error Configuration) command 155
Export (Error Configuration) command 130
Export PortConfiguration command 130
F
Filter Editor 131
G
group panel 150
I
Import ErrorConfiguration command 135
Insert EESPort command 136
Instrument Selector 183
L
Local Program Data folder 8, 185
Lock Scrolling command 141
M
Measurement Data Pool 186
Messages pane 187
N
New Error command 135, 141
New ErrorConfiguration command 142
New ErrorSet command 143
New Signal command 143
O
Open (EESPort) command 144
Open (Error Configuration) command 144
205
May 2024 ControlDesk Electrical Error Simulation via XIL API EESPort
Index
206
ControlDesk Electrical Error Simulation via XIL API EESPort May 2024