Control Desk Lay Outing
Control Desk Lay Outing
Layouting
For ControlDesk 2024‑A
To access the Web version of this document, click the following link or scan the QR code:
https://www.dspace.com/dspace-help/GrvA3
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 Layouting Features (ControlDesk 2024‑A).............................................. 11
New Layouting Features (ControlDesk 7.2).................................................... 13
Reference Information 49
Activate (Layout)........................................................................................... 53
Align Bottom.................................................................................... ............ 53
Align Horizontal Center................................................................................. 54
Align Left...................................................................................................... 55
Align Right.................................................................................................... 55
Align Top.......................................................................................... ............ 56
Align Vertical Center..................................................................................... 57
Assign Platforms............................................................................... ............ 58
Autoselect Variable........................................................................... ............ 60
Bring to Front................................................................................................ 60
Center Horizontal.......................................................................................... 61
Center Vertical.............................................................................................. 62
3
May 2024 ControlDesk Layouting
Contents
Close (Layout)............................................................................................... 62
Collapse All................................................................................................... 63
Create Layout Copy / Create Copy.................................................... ............ 64
Create Python Reference............................................................................... 64
Delete Invalid................................................................................................ 65
Expand All..................................................................................................... 66
Export Active Layout Connections................................................................. 66
Export Connections....................................................................................... 67
Export Layout / Export................................................................................... 68
Go to Instrument.............................................................................. ............ 69
Group........................................................................................................... 69
Import Connections.......................................................................... ............ 70
Import Layout................................................................................... ............ 71
Import Linked Layout........................................................................ ............ 72
Insert Layout................................................................................................. 74
Instrument Navigator........................................................................ ............ 75
Layout Navigator........................................................................................... 79
Layout Properties........................................................................................... 82
Locked Mode................................................................................................ 84
Make Same Height........................................................................................ 85
Make Same Size............................................................................................ 86
Make Same Width............................................................................ ............ 86
Move Down.................................................................................................. 87
Move Up....................................................................................................... 88
Open (Layout)............................................................................................... 88
Paste / Paste Instruments with Connections................................................... 89
Paste Instruments Without Connections........................................................ 90
Remove (Layout)............................................................................... ............ 90
Rename (Layout)........................................................................................... 91
Replace Mappings with Variables...................................................... ............ 92
Replace Variables with Mappings...................................................... ............ 93
Scroll to Instrument....................................................................................... 94
Send to Back................................................................................................. 95
Show Disconnected....................................................................................... 95
Space Across................................................................................................. 96
Space Down.................................................................................................. 97
Switch Data Source....................................................................................... 97
Synchronize (Layout)..................................................................................... 98
Ungroup..................................................................................................... 100
Visualization Page....................................................................................... 100
Visualize Variables....................................................................................... 103
4
ControlDesk Layouting May 2024
Contents
Automation 105
Programming ControlDesk Automation................................................................ 106
Automating Visualization of Variables on Layouts........................................ 106
Automating Parameter Calibration.............................................................. 115
Limitations 121
Limitations for Layouting............................................................................. 121
Glossary 123
Index 161
5
May 2024 ControlDesk Layouting
Contents
6
ControlDesk Layouting May 2024
About This Document
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 Layouting
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 Layouting May 2024
About This Document
9
May 2024 ControlDesk Layouting
About This Document
10
ControlDesk Layouting May 2024
New Features
New Features
Option to overwrite layouts You can now specify whether ControlDesk prompts you to overwrite experiment
on import layouts of the same name during import.
You can enable the option via the graphical user interface or via the automation
interface:
§ Enable the Show dialog that prompts overwriting layouts on import
option on the Visualization page of the ControlDesk Options dialog.
If enabled, and when you import a layout (refer to Import Layout on page 71)
or import a linked layout (refer to Import Linked Layout on page 72) to an
experiment that already contains a layout of the same name, ControlDesk
opens the following dialog for you to select an import options.
11
May 2024 ControlDesk Layouting
New Features
Option to keep invalid You can now specify whether ControlDesk keeps invalid variable
variable connections during connections when you import a variable connection (CONX) file.
CONX file import
If the option is enabled, and when you import a CONX file with a valid variable
connection for an instrument that has an invalid variable connection before the
import, ControlDesk does the following:
§ For instruments that can be connected to one variable, e.g., the Gauge ,
ControlDesk keeps the invalid connection and ignores the valid variable
connection in the CONX file.
§ For instruments that can be connected to several variables, e.g., the Variable
Array , ControlDesk keeps the invalid connection and adds the valid variable
connection to the instrument.
Note
ControlDesk does not add the valid variable connection to the instrument
if the Key-based connection import option is enabled and if the exact
instrument position has an invalid variable connection.
You can enable the option via the graphical user interface or via the automation
interface:
§ Enable the Keep invalid connections during import option on the
Visualization page of the ControlDesk Options dialog.
Refer to Visualization Page on page 100.
§ To enable the option via automation, enter the following Python code in the
Internal Interpreter:
Application.LayoutManagement.KeepInvalidConnectionsDuringImport = True
12
ControlDesk Layouting May 2024
New Layouting Features (ControlDesk 7.2)
Creating layout copies for Creating layout copies is now also possible for layouts that are in locked mode
locked layouts ( ).
Specifying layout descriptions You can now specify a description for each layout.
Layout Properties...................................................................................................................... 82
13
May 2024 ControlDesk Layouting
New Features
14
ControlDesk Layouting May 2024
Basics and Instructions
15
May 2024 ControlDesk Layouting
Basics and Instructions
Introduction Layouts are used for visualizing instruments. You can use the Layout Navigator
and the Instrument Navigator to get an overview of the layouts, the
instruments and the connected variables.
Layouts and instruments In a layout, variables are calibrated and measured graphically with instruments.
Instruments are used for calibration, measurement, and ECU diagnostics
tasks. ControlDesk provides different instruments, such as the Time Plotter
for displaying measurement variables and the Table Editor for changing
multidimensional parameters.
Layout Navigator A pane that gives access to all the layouts of the currently active experiment. The
Layout Navigator gives you quick access to the context menu commands of
each layout. The pane can be used for switching between layouts.
16
ControlDesk Layouting May 2024
Introduction to Layout Handling
Instrument Navigator A pane that gives access to all the instruments and variables that are placed on
the currently active layout. The Instrument Navigator's main function is easy
selection of instruments in complex layouts.
Extending the functionality of You can extend the functionality of a layout or an instrument by adding Python
layouts and instruments code to it. Refer to Script Property (ControlDesk Instrument Handling ).
Instrument Navigator................................................................................................................ 75
Layout Navigator...................................................................................................................... 79
17
May 2024 ControlDesk Layouting
Basics and Instructions
Result You created a new empty layout. ControlDesk saves the layout (LAY) file and
inserts it into the currently active experiment.
To save a single layout without saving the whole project/experiment, select the
layout and press Ctrl+S.
Note
When you modify a newly created layout later on and close it without
saving, the (empty) layout file remains in the experiment. To remove the
layout file, select Remove (refer to Remove (from Project/Experiment)
(ControlDesk Project and Experiment Management )) from its context
menu in the Project pane.
Next steps § You can configure the layout properties. Refer to How to Configure the
Properties of a Layout on page 18.
§ You can visualize variables on layouts. Refer to How to Connect Variables and
Framework Labels to Instruments on page 34.
References
Insert Layout............................................................................................................................. 74
Objective You can change, for example, the name, background color and grid properties of
a layout.
18
ControlDesk Layouting May 2024
Introduction to Layout Handling
Layout properties Properties pane You can configure the properties of layouts via the
Properties pane, which displays the properties of the currently selected layout
hierarchically.
Searching and filtering The Properties pane provides buttons to search and
filter the content. The results are highlighted and you can jump to the previous
or next occurrence of the search string.
19
May 2024 ControlDesk Layouting
Basics and Instructions
Layout Properties...................................................................................................................... 82
Properties (Pane) (ControlDesk User Interface Handling )
20
ControlDesk Layouting May 2024
Introduction to Layout Handling
Objective You can export a layout with all its instruments and variable connections, and
import it to another experiment.
Layout file formats LAY file format ControlDesk file format for layouts in a ControlDesk
experiment. You cannot use LAY files to exchange layouts between experiments
since LAY files contain no variable connection information. To exchange
layouts between experiments, use the LAX file format instead.
LAX file format ControlDesk file format for exchanging layouts (including
variable connection information) between experiments.
LAX files can be imported to the same or to a newer ControlDesk version only.
Interim result You exported a layout. Continue with Part 2 on page 21.
21
May 2024 ControlDesk Layouting
Basics and Instructions
3 Navigate to the layout file which you exported previously and select it.
4 Click Open.
The imported layout opens.
ControlDesk copies the selected layout, and tries to establish all the variable
connections of the imported layout. Variables that cannot be connected in the
new experiment are marked as unavailable in the layout.
Tip
You can reuse layouts with instruments that have connections to variables
of an SDF file (platform) in an ECU calibration project (calibration device
with an A2L file) and vice versa. The precondition is that the variable names
used in the SDF file are the same as those used in the A2L file. In addition,
the SDF file parameters must be located in the Tunable Parameters node
and the SDF file measurement variables must be located in the Labels node.
References
22
ControlDesk Layouting May 2024
Introduction to Layout Handling
Objective You can store layouts in an external folder and synchronize their settings with
the local layouts in your experiment.
Working with referenced You can import a layout from an external folder to your experiment, and keep
layouts a link to the referenced layout. Since the local layout, i.e., the layout imported
to the experiment and the referenced layout, i.e., the layout in the external
folder are linked, you can synchronize them after modification. Synchronization
is possible in both directions.
This allows you to create collections of layouts that can be referenced from
various projects and experiments.
Note
2 Open an experiment that contains one or more layouts you want to store in
the layout pool.
3 In the Project pane, export the layouts to the layout pool folder.
23
May 2024 ControlDesk Layouting
Basics and Instructions
4 In the Project pane, remove the exported layouts from the experiment.
5 From the context menu of the Experiment Layouts folder, select Import
Linked Layouts to open the Import Layouts dialog. Reimport the exported
layout files to the experiment.
6 Click Open.
Result The reimported layouts are added to the experiment layouts as local working
copies with references to the related layouts in the layout pool. This is visualized
by an additional chain on the layout symbol.
24
ControlDesk Layouting May 2024
Introduction to Layout Handling
Next step: Synchronizing After layout modification, the Synchronize Layouts dialog lets you write the
layouts settings from the local layout to the referenced layout or vice versa.
If you open a new experiment and a local layout is not synchronized with
the referenced layout, ControlDesk prompts you to synchronize the layout. If
you reject synchronization, the unsynchronized layout is marked by a database
symbol with an exclamation mark ( ).
25
May 2024 ControlDesk Layouting
Basics and Instructions
References
Objective You can export all the variable connections of one or more layouts to a CONX
file, and import them to instruments on other layouts.
Connection files ControlDesk can export the variable connections of the instruments on the active
layout or on all the opened layouts to an XML connection file in CONX file
format.
Export and import options You can specify general options for the export and import of variable
connections. Refer to Visualization Page on page 100.
Preconditions To import variable connections from a connection file, the target experiment
must have an appropriate platform/device and an appropriate variable
description for the exported connections.
26
ControlDesk Layouting May 2024
Introduction to Layout Handling
Interim result You exported the connections of all the opened layouts. Continue with Part 2 on
page 27.
4 Navigate to the connection file which you exported previously and select it.
5 Click Open.
The imported connections are reestablished for all matching layouts and
instruments.
27
May 2024 ControlDesk Layouting
Basics and Instructions
Result You exported the connections of all the opened layouts of one experiment and
imported them to the layouts of another experiment.
28
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Introduction To calibrate parameters or to measure and record data, you can connect variables
and framework labels to instruments.
Layouts and instruments Layouts can be used for visualizing instruments . Instruments let you perform
calibration, measurement, and ECU diagnostics tasks. ControlDesk provides
different instruments, such as the Time Plotter for displaying measurement
variables and the Table Editor for changing multidimensional parameters.
Instrument Selector The Instrument Selector is a pane that provides access to ControlDesk's
instruments. You can select instruments from the Instrument Selector and
place them on layouts.
29
May 2024 ControlDesk Layouting
Basics and Instructions
Instruments and the variable Variable types The table below lists all the ControlDesk instruments and
and framework label types shows which variable type an instrument can visualize.
they can visualize
2)
3)
4) 5) 6) 7) 8) 9) 10) 11)
3-D Viewer12) ✓ ✓ ✓ – – – ✓ ✓ ✓ – –
Airspeed Indicator ✓ – ✓ – – – – – ✓ – –
Altimeter ✓ – ✓ – – – – – ✓ – –
Animated Needle ✓ – ✓ – – – – – ✓ – –
Artificial Horizon ✓ – ✓ – – – – – ✓ – –
Bar ✓ – ✓ – – – – – ✓ – –
Check Button ✓ – ✓ – – – – – ✓ – –
Diagnostics Instrument – – – – – – – – – – –
Display ✓ – ✓ – – – – ✓ ✓ – –
Fault Memory Instrument – – – – – – – – – – –
Frame ✓ – ✓ – – – – ✓ ✓ – –
Gauge ✓ – ✓ – – – – – ✓ – –
Heading Indicator ✓ – ✓ – – – – – ✓ – –
Hierarchy Array ✓ – ✓ – – – – ✓ ✓ – –
Index Plotter ✓ – ✓ – – – – – ✓ – –
Invisible Switch ✓ – ✓ – – – – – ✓ – –
30
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
1)
2)
3)
4) 5) 6) 7) 8) 9) 10) 11)
Knob ✓ – ✓ – – – – – ✓ – –
MultiState Display ✓ – ✓ – – – – – ✓ – –
Multiswitch ✓ – ✓ – – – – – ✓ – –
Numeric Input ✓ – ✓ – – – – ✓ ✓ – –
On/Off Button ✓ – ✓ – – – – – ✓ – –
Push Button ✓ – ✓ – – – – – ✓ – –
Radio Button ✓ – ✓ – – – – – ✓ – –
Selection Box ✓ – ✓ – – – – – ✓ – –
Slider ✓ – ✓ – – – – – ✓ – –
Sound Controller ✓ – ✓ – – – – – ✓ – –
Static Text – – – – – – – – – – –
Steering Controller ✓ – ✓ – – – – – ✓ – –
Table Editor (single connection) – ✓ – ✓ ✓ ✓ ✓ – – – –
Table Editor (multiple connections) ✓ ✓ ✓ ✓ – – ✓ – ✓ – –
Time Plotter ✓ – ✓ – – – – – ✓ – –
Variable Array ✓ ✓ ✓ – – – ✓ ✓ ✓ (✓)13) (✓)13)
XY Plotter ✓ ✓14) ✓ – – – – – ✓ – –
1) Measurement
2) Measurement array
3) Value (Float, Int)
4) Common axis
5) Curve
6) Map
7) Value block
8) String
9) Calculated variable
10) Struct
11) Struct array
12) You can connect variables to properties of the 3-D Viewer as well as properties of
items displayed in the 3-D Viewer. For more information, refer to Overview of Possible
Variable Connections (ControlDesk Instrument Handling ).
13) You can connect the contained variables to different instruments in one step by
customizing the connection assignment. Refer to How to Customize the Connection
Assignment of Variables and Framework Labels to Instruments on page 38.
14) You can connect one-dimensional measurement arrays to the x‑ and y‑axis if they have
the same length.
Framework label types The table below lists all the ControlDesk instruments
and shows which framework label type can be connected.
31
May 2024 ControlDesk Layouting
Basics and Instructions
32
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Handling conversion tables Some instruments support variables with conversion tables and multiscalings.
and multiscalings The following table shows the most suitable instruments:
Preserving connections Variable connections If the data source changes and the variable of a
variable connection is not available any longer, the instrument preserves the
connection path or the URI.
The following illustration shows this case after the data source of the layout has
been switched to a different measurement data file:
References and origin The icons of variables displayed under a subnode in the variable list can have
connection paths an additional symbol. The arrow indicates that this variable is a reference
33
May 2024 ControlDesk Layouting
Basics and Instructions
The path of the connected variable and the origin connection path of the
dragged variable are displayed in the instrument properties.
In the Variables pane, you can get information on the referenced variable in the
following ways:
§ You can display the path to the referenced variable by adding the Referenced
Variable column to the variable list.
§ You can select and highlight the referenced variable via Navigate to
Referenced Variable in the context menu.
HowTos
References
34
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Preconditions § Layout editing must be unlocked. Refer to Locked Mode on page 84.
§ For Method 2 on page 37, the experiment must contain at least a file
with framework labels. To map the framework labels to model variables,
the experiment must also contain testbench labels and label mappings. For
more information, refer to Basics on Variable Mappings (ControlDesk Variable
Management ).
Tip
35
May 2024 ControlDesk Layouting
Basics and Instructions
You can add further variables to the instrument via drag & drop.
You can also drag a group node from the variable group view to the
instrument. However, this works only if the instrument can visualize all the
variables of the group.
Note
Result You connected variables to an instrument by dragging them from the Variables
pane to a layout and selecting an instrument from the list.
In the Variables pane, a red chain symbol in the Connected column indicates
that a variable is connected to an instrument. This is valid regardless of
whether a resolvable framework label or a variable was initially connected to
the instrument.
36
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Tip
You can add further framework labels to the instrument via drag & drop.
Note
37
May 2024 ControlDesk Layouting
Basics and Instructions
Result You connected framework labels to instruments by dragging them from the
Mappings pane to a layout and selecting an instrument from the list.
Tip
References
Objective Customizing the connection assignment allows you to create special variable-
instrument or framework label‑instrument connections, such as connecting a
group of variables to multiple instruments in one step, for example.
38
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Basics In some cases, you might have to create the same variable-instrument
connections repeatedly: for example, if you have to connect the variables of
a struct to appropriate instruments. In these cases, you can create a specific
instrument group that you can connect a variable or a group of variables to in
one step. See the following table.
39
May 2024 ControlDesk Layouting
Basics and Instructions
Note
You can also specify a text string that lets ControlDesk search for a
matching framework label. But if the variable mapping between framework
labels and model variables is unresolvable, searching for the end of a path
or a regular expression fails.
To let ControlDesk search for framework labels with unresolvable variable
mappings, specify substrings contained in the URI.
40
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
41
May 2024 ControlDesk Layouting
Basics and Instructions
Result You have created a new custom instrument consisting of an instrument group
with a custom connection assignment for each instrument in the group.
If you now drag a group of variables to the new instrument group, ControlDesk
searches for variables that match the connection assignment. If the dragged
variable group offers a matching variable for an instrument in the instrument
group, it is connected. Non-matching variables are ignored.
42
ControlDesk Layouting May 2024
Connecting Variables and Framework Labels to Instruments
Before you drop the variable group, the instruments that can be connected are
highlighted.
Example of connecting one Suppose you want to create an LED panel that visualizes an rpm value. After
variable to an instrument you have created an instrument group with the desired number of LEDs and
group connected all of them to the same rpm variable, you have to specify the value
range that each LED must display.
43
May 2024 ControlDesk Layouting
Basics and Instructions
You can now reuse this custom LED instrument. Dragging the rpm variable on it
creates all the necessary connections in one step.
Tip
If you change the connection assignment to the regular expression $*, all
variables available for the instrument are accepted. You can use this to
connect rpm variables independent of their naming. However, the value
ranges of the rpm variable must match the LED settings.
If you select Configure Connection Assignment for an instrument
without variable connection, ControlDesk creates a connection assignment
with the regular expression $* automatically.
44
ControlDesk Layouting May 2024
Arranging Instruments on a Layout
Introduction You can use various methods to select and position instruments on a layout.
Example Description
Each instrument has a sensitive area used to drag it to a new position.
In this area the mouse pointer changes to a move symbol.
For some instruments, the sensitive area covers the whole instrument,
for others it is only a part of the instrument.
You can move the Variable Array, for example, by clicking the title bar
or header and then dragging the pointer to the new position.
Each instrument has at least one sensitive move area in the left upper
corner: the selection handler, visualized by a square.
If you have activated the selection handler via the instrument
properties, you can use the square to drag the instrument to a new
position.
45
May 2024 ControlDesk Layouting
Basics and Instructions
Shortcut keys You can use the following shortcut keys to move or resize selected instruments.
Multiple selection of You can select several instruments and move them together. Use the sensitive
instruments move area of one selected instrument to drag the complete selection.
Tip
Example Description
46
ControlDesk Layouting May 2024
Arranging Instruments on a Layout
Objective You can arrange instruments manually using the mouse. ControlDesk provides a
number of commands to accelerate and optimize the arranging of instruments.
Optimized arranging of The following commands are available to support the arranging of instruments:
instruments § Align (Left, Right, Top, Bottom, Vertical Center, Horizontal Center)
§ Space Evenly (Across, Down)
§ Center in View (Vertically, Horizontally)
§ Make Same Size (Width, Height, Both)
§ Group
§ Ungroup
If instruments overlap, you can arrange them with the following commands:
§ Bring to Front
§ Send to Back
Automatic sizing ControlDesk provides the automatic sizing property for some instruments.
If enabled, the selected instrument adjusts the size of its display areas
automatically.
Locked mode If you want to protect a layout from unintentional changes, you can lock it
against editing.
47
May 2024 ControlDesk Layouting
Basics and Instructions
Align Bottom............................................................................................................................ 53
Align Horizontal Center............................................................................................................ 54
Align Left................................................................................................................................. 55
Align Right............................................................................................................................... 55
Align Top.................................................................................................................................. 56
Align Vertical Center................................................................................................................. 57
Bring to Front........................................................................................................................... 60
Center Horizontal..................................................................................................................... 61
Center Vertical.......................................................................................................................... 62
Group...................................................................................................................................... 69
Locked Mode........................................................................................................................... 84
Make Same Height................................................................................................................... 85
Make Same Size....................................................................................................................... 86
Make Same Width.................................................................................................................... 86
Send to Back............................................................................................................................ 95
Space Across............................................................................................................................ 96
Space Down............................................................................................................................. 97
Ungroup................................................................................................................................. 100
48
ControlDesk Layouting May 2024
Reference Information
Reference Information
Activate (Layout)...................................................................................... 53
To activate a layout.
Align Bottom........................................................................................... 53
To align all the instruments selected in the layout with the bottom of the
last selected item.
Not available in operator mode.
Align Left................................................................................................ 55
To align all selected instruments in the layout with the left border of the
last selected item.
Not available in operator mode.
Align Right.............................................................................................. 55
To align all selected instruments in the layout with the right border of the
last selected item.
Not available in operator mode.
Align Top................................................................................................. 56
To align all selected instruments in the layout with the top of the last
selected item.
Not available in operator mode.
Assign Platforms...................................................................................... 58
To assign unresolved variable connections to platforms/devices in the
experiment.
Not available in operator mode.
49
May 2024 ControlDesk Layouting
Reference Information
Autoselect Variable.................................................................................. 60
To select and highlight the main variable connected to the selected
instrument in the Variables pane.
Bring to Front.......................................................................................... 60
To bring the selected instruments in the layout to the front.
Not available in operator mode.
Center Horizontal.................................................................................... 61
To center the selected instruments horizontally in the layout.
Not available in operator mode.
Center Vertical......................................................................................... 62
To center the selected instruments vertically in the layout.
Not available in operator mode.
Close (Layout).......................................................................................... 62
To close one or more open layouts.
Collapse All............................................................................................. 63
To collapse all the nodes and subnodes of the tree.
Delete Invalid........................................................................................... 65
To delete invalid variable-instrument connections.
Not available in operator mode.
Expand All............................................................................................... 66
To expand all the nodes and subnodes of the tree.
Export Connections................................................................................. 67
To export the variable connections of the instruments on all currently
opened layouts to a CONX file.
Go to Instrument..................................................................................... 69
To switch the focus to the associated instrument on the layout.
Group..................................................................................................... 69
To group selected instruments.
Not available in operator mode.
50
ControlDesk Layouting May 2024
Reference Information
Import Connections................................................................................. 70
To import variable connections from a CONX file.
Import Layout.......................................................................................... 71
To import a layout .
Not available in operator mode.
Insert Layout............................................................................................ 74
To insert a new empty layout into the active experiment.
Not available in operator mode.
Instrument Navigator............................................................................... 75
To show the Instrument Navigator.
Layout Navigator..................................................................................... 79
To show the Layout Navigator.
Layout Properties..................................................................................... 82
To view and edit the properties of the currently active layout.
Locked Mode.......................................................................................... 84
To lock/unlock layout editing.
Not available in operator mode.
Move Down............................................................................................ 87
To move the selected instruments in the layout one layer down.
Not available in operator mode.
Move Up................................................................................................. 88
To move the selected instruments in the layout one layer up.
Not available in operator mode.
Open (Layout).......................................................................................... 88
To open one or more closed layouts.
51
May 2024 ControlDesk Layouting
Reference Information
Remove (Layout)...................................................................................... 90
To remove one or more layouts from the experiment.
Not available in operator mode.
Rename (Layout)...................................................................................... 91
To rename a layout.
Not available in operator mode.
Scroll to Instrument................................................................................. 94
To scroll the layout to make the selected instrument visible.
Send to Back........................................................................................... 95
To send the selected instruments in the layout to the back.
Not available in operator mode.
Show Disconnected................................................................................. 95
To highlight the instruments which are not connected with a main
variable in the current layout.
Space Across........................................................................................... 96
To equalize the distance of selected instruments in the layout between
the left-most and right-most instruments.
Not available in operator mode.
Space Down............................................................................................ 97
To equalize the distance of selected instruments in the layout between
the uppermost and lowest instruments.
Not available in operator mode.
Synchronize (Layout)................................................................................ 98
To synchronize the local copy of a layout with the layout it is referenced
to.
Not available in operator mode.
Ungroup................................................................................................ 100
To ungroup an instrument group.
Not available in operator mode.
52
ControlDesk Layouting May 2024
Activate (Layout)
Activate (Layout)
Ribbon None
Context menu of § Project pane – Layout
§ Layout Navigator - Layout
Shortcut key None
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Align Bottom
53
May 2024 ControlDesk Layouting
Reference Information
Note
Purpose To align all the instruments selected in the layout with the bottom of the last
selected item.
Note
Result The instruments you selected in the layout are aligned with the horizontal center
of the last selected item.
54
ControlDesk Layouting May 2024
Align Left
Align Left
Note
Purpose To align all selected instruments in the layout with the left border of the last
selected item.
Align Right
55
May 2024 ControlDesk Layouting
Reference Information
Note
Purpose To align all selected instruments in the layout with the right border of the last
selected item.
Align Top
Note
Purpose To align all selected instruments in the layout with the top of the last selected
item.
56
ControlDesk Layouting May 2024
Align Vertical Center
Note
Result The instruments you selected in the layout are aligned with the vertical center of
the last selected item.
57
May 2024 ControlDesk Layouting
Reference Information
Assign Platforms
Note
58
ControlDesk Layouting May 2024
Assign Platforms
Note
Tip
Assign Platforms for layouts Lists the missing platforms/devices that variable connections cannot be assigned
dialog // Assign Platforms for to, and lets you manually select existing platforms/devices in the experiment to
<layout_name> dialog assign variable connections to.
59
May 2024 ControlDesk Layouting
Reference Information
Autoselect Variable
Purpose To select and highlight the main variable connected to the selected instrument in
the Variables pane.
References
Bring to Front
60
ControlDesk Layouting May 2024
Center Horizontal
Note
Result The selected instruments will cover the instruments in the background if their
borders overlapped before this command was carried out.
References
Send to Back............................................................................................................................ 95
Center Horizontal
Note
Result The selected instruments are centered in the layout horizontally. If several
instruments are in a horizontal line, they will overlap each other.
61
May 2024 ControlDesk Layouting
Reference Information
Center Vertical
Note
Result The selected instruments are centered vertically in the layout. If several
instruments are in a vertical line, they will overlap each other.
Close (Layout)
Ribbon None
Context menu of § Project pane – Layout(s)
§ Layout Navigator - Layout
Shortcut key None
62
ControlDesk Layouting May 2024
Collapse All
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Result If you have changed a layout, for example, by scrolling to a new position,
ControlDesk prompts you to save it. The name of a closed layout is grayed out in
the Project pane.
Collapse All
Ribbon None
Context menu of § Instrument Navigator
§ Layout Navigator
§ Bus Navigator
Shortcut key None
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Result Only the instruments are displayed in the tree, the connected variables are
hidden.
Expand All................................................................................................................................ 66
63
May 2024 ControlDesk Layouting
Reference Information
Ribbon None
Context menu of § Layout
§ Layout Navigator - Layout
Shortcut key None
Toolbar icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Note
Result The copied layout contains the same instruments and variable connections as
the original layout. It is added to the currently active experiment and saved. The
name of the copied layout is Copy of <Name of original layout>.
Description This command is an easy way to create a layout for viewing recorded data, for
example. Multiple selection is possible.
Ribbon None
Context menu of § Instrument Navigator - instrument
§ Layout Navigator - layout
Shortcut key None
64
ControlDesk Layouting May 2024
Delete Invalid
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Note
Purpose To create a Python string that references the selected instrument or layout.
Result ControlDesk creates the Python string that references the selected instrument or
layout and copies it to the Clipboard. You can paste the string into your Python
code.
Instrument Navigator................................................................................................................ 75
Layout Navigator...................................................................................................................... 79
Delete Invalid
Note
65
May 2024 ControlDesk Layouting
Reference Information
References
Show Disconnected.................................................................................................................. 95
Expand All
Ribbon None
Context menu of § Instrument Navigator
§ Layout Navigator
§ Bus Navigator
Shortcut key None
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Collapse All.............................................................................................................................. 63
66
ControlDesk Layouting May 2024
Export Connections
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Purpose To export the variable connections of the instruments on the currently active
layout to a CONX file.
Result The variable connections are exported to the CONX file you specified.
References
Export Connections.................................................................................................................. 67
Export Connections
Purpose To export the variable connections of the instruments on all currently opened
layouts to a CONX file.
Result The variable connections are exported to the CONX file you specified.
67
May 2024 ControlDesk Layouting
Reference Information
References
Note
Purpose To export the selected layout(s) with all instruments, variable connections, and
layout-specific events.
Result Opens a standard file dialog to specify the file name(s). Each layout is stored as
an LAX file. The LAX file also contains the layout's variable connections.
If you access the command via the Project pane, ControlDesk opens the Browse
for Folder dialog to specify an export folder for the LAX files.
Note
68
ControlDesk Layouting May 2024
Go to Instrument
HowTos
Go to Instrument
Ribbon None
Context menu of Instrument Navigator - instrument node
Shortcut key Enter
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Result The associated instrument gets the focus. If you now press a shortcut key, for
example, it belongs to the instrument on the layout and not to the instrument
item in the Instrument Navigator.
Instrument Navigator................................................................................................................ 75
Group
69
May 2024 ControlDesk Layouting
Reference Information
Note
Description Grouped instruments have a common frame. You can change the properties
of the instruments via the Properties dialogs, but you cannot resize or shift
instruments inside a group.
Import Connections
Result The variable connections are imported from the CONX file you specified.
Note
70
ControlDesk Layouting May 2024
Import Layout
Tip
References
Export Connections.................................................................................................................. 67
Visualization Page................................................................................................................... 100
Import Layout
Note
Result ControlDesk opens the Import Layouts dialog that lets you specify a layout file
to import.
71
May 2024 ControlDesk Layouting
Reference Information
Layout import and load During import, the layout file is copied to the
Experiment Layouts folder.
When the imported layout is loaded, ControlDesk checks all the variable
connections .
Import Layouts dialog File name Lets you import a layout with all instruments and variable
connections.
References
72
ControlDesk Layouting May 2024
Import Linked Layout
Icon
Note
Result ControlDesk opens the Import Linked Layout dialog that lets you specify a
layout file to import. ControlDesk links the imported local layout to the external
layout file.
This allows you to create layout pools. For instructions, refer to How to Create a
Layout Pool on page 23.
Layout import and load During import, ControlDesk creates a local layout
copy from the external layout file. Both layouts remain linked. The link is
indicated by a layout icon with a chain ( ).
When ControlDesk loads the imported layout, all the variable connections are
checked.
73
May 2024 ControlDesk Layouting
Reference Information
Import Linked Layout dialog File name Lets you import a linked layout with all instruments and variable
connections.
References
Import Layout........................................................................................................................... 71
Synchronize (Layout)................................................................................................................. 98
Insert Layout
Note
In a layout you can calibrate and measure variables. You can also use it to
visualize recorded data.
74
ControlDesk Layouting May 2024
Instrument Navigator
Instrument Navigator
Description Instrument Navigator A pane that gives access to all the instruments and
variables that are placed on the currently active layout.
The Instrument Navigator looks like this:
Data connections are invalid if the source or the target of the connection is
removed from the application or Simulink simulation, or if an internal error
occurs.
75
May 2024 ControlDesk Layouting
Reference Information
Function buttons The following function buttons are available below the
Instrument Navigator header.
Function Description
Button
Lets you set the search scope to all text fields. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Lets you limit the search scope to instrument names. Enter
the search string in the edit field and click or to
find the previous or the next matching item. To change the
search scope, click .
Lets you limit the search scope to variable names. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Highlights all unconnected variables. Click to change the
search scope.
Highlights all invalid connections. Click to change the
search scope.
Highlights all unresolved mappings. Click to change the
search scope.
Selects the previous occurrence of the search string.
Wildcard search You can use implicit and explicit wildcards in the filter
string.
§ Implicit wildcards: If you type a search string without wildcards, an implicit * is
set at the beginning and at the end of the string.
76
ControlDesk Layouting May 2024
Instrument Navigator
77
May 2024 ControlDesk Layouting
Reference Information
Purpose Refer to
To bring the selected instruments in the layout to the front. Bring to Front on page 60
To connect the variables to a different instrument. Change To/Variables - Change To (ControlDesk
Instrument Handling )
To collapse all the nodes and subnodes of the tree. Collapse All on page 63
To link Python code to a specific event in ControlDesk. Configure Events (ControlDesk Automation )
To configure the connection assignment of the variable(s) in the selected Configure Connection Assignment (ControlDesk
instrument(s). Instrument Handling )
To copy the selected instruments to the Clipboard. Copy (Instrument) (ControlDesk Instrument
Handling )
To create a Python string that references the selected instrument or Create Python Reference on page 64
layout.
To cut the selected instruments to the Clipboard. Cut (Instrument) (ControlDesk Instrument Handling )
To delete the selected instruments. Delete (Instrument) (ControlDesk Instrument
Handling )
To expand all the nodes and subnodes of the tree. Expand All on page 66
To switch the focus to the associated instrument on the layout. Go to Instrument on page 69
To group selected instruments. Group on page 69
To view and edit the properties of an instrument. Properties (refer to Instrument Properties (ControlDesk
Instrument Handling ))
To extend the functionality of an instrument by adding Python code to it. Instrument Script (ControlDesk Instrument
Handling )
To scroll the layout to make the selected instrument visible. Scroll to Instrument on page 94
To send the selected instruments in the layout to the back. Send to Back on page 95
To connect a variable to an instrument. Change To/Variables - Change To (ControlDesk
Instrument Handling )
To copy the selected variables to the Clipboard. Copy / Variables - Copy (ControlDesk Instrument
Handling )
To cut the selected variables in the current instrument. Variables - Cut (ControlDesk Instrument Handling )
To delete the selected variables. Variables - Delete (ControlDesk Instrument
Handling )
To paste variables from the Clipboard to an instrument. Variables - Paste/Paste Variables (ControlDesk
Instrument Handling )
Instruments and the Variable Types they can Visualize (ControlDesk Instrument
Handling )
78
ControlDesk Layouting May 2024
Layout Navigator
Layout Navigator
Description Layout Navigator A pane that gives access to all the layouts of the currently
active experiment.
Function buttons The following function buttons are available below the
Layout Navigator header.
Function Description
Button
Lets you set the search scope to all text fields. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
79
May 2024 ControlDesk Layouting
Reference Information
Function Description
Button
Lets you limit the search scope to layout names. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Lets you limit the search scope to open layouts. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Lets you limit the search scope to closed layouts. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Lets you limit the search scope to layout groups. Enter the
search string in the edit field and click or to find the
previous or the next matching item. To change the search
scope, click .
Data connections are invalid if the source or the target of
the connection is removed from the application or Simulink
simulation, or if an internal error occurs.
Selects the previous occurrence of the search string.
Wildcard search You can use implicit and explicit wildcards in the filter
string.
§ Implicit wildcards: If you type a search string without wildcards, an implicit * is
set at the beginning and at the end of the string.
For example: or finds the same elements as *or*.
§ Explicit wildcards: If you enter at least one wildcard, implicit wildcards are
disabled. All wildcards must be set explicitly.
§ You can use the * wildcard for any number of missing letters in the filter
string.
For example: *or, or*, and *or* specify different searches.
§ If the filter string contains at least one explicit * wildcard, you can also use
the ? wildcard for one missing letter in the filter string.
For example: *_?_table finds triangle_z_table and triangle_x_table.
80
ControlDesk Layouting May 2024
Layout Navigator
Positioning the pane By default, the Layout Navigator is located at the left
side of the ControlDesk user interface.
You can shift panes to any position inside the working area or dock them at the
border of the working area. For instructions on positioning panes, refer to How
to Customize the Screen Arrangement (ControlDesk User Interface Handling ).
Purpose Refer to
To activate a layout. Activate (Layout) on page 53
To close one or more open layouts. Close (Layout) on page 62
To collapse all the nodes and subnodes of the tree. Collapse All on page 63
To create a new layout as a copy of the currently selected layout. Create Layout Copy / Create Copy on page 64
To create a Python string that references the selected instrument or Create Python Reference on page 64
layout.
To expand all the nodes and subnodes of the tree. Expand All on page 66
To export the selected layout(s) with all instruments, variable Export Layout / Export on page 68
connections, and layout-specific events.
To lock/unlock layout editing. Locked Mode on page 84
81
May 2024 ControlDesk Layouting
Reference Information
Purpose Refer to
To paste the copied instruments in the current layout with variable Paste / Paste Instruments with Connections on
connections. page 89
To paste the copied instruments in the current layout without variable Paste Instruments Without Connections on page 90
connections.
To paste variables from the Clipboard to an instrument. Variables - Paste/Paste Variables (ControlDesk
Instrument Handling )
To view and edit the properties of a layout. Properties (refer to Properties (Pane) (ControlDesk User
Interface Handling ))
To remove one or more layouts from the experiment. Remove (Layout) on page 90
To rename a layout. Rename (Layout) on page 91
To switch the variable connections of all the instruments of the selected Switch Data Source on page 97
layout to another source.
Layout Properties
Purpose To view and edit the properties of the currently active layout.
Content size properties Content size Lets you specify the size of the layout (in pixels). Open the
dialog to enter or select values for width and height. You can enable or disable
the fixed layout size. If it is enabled, you can place instruments only within
the fixed size. If it is disabled, you can enlarge the layout size by moving an
instrument to the outside of the current layout border. You cannot enter or select
values that are smaller than the size that is needed for the instruments currently
included. If you do so, the layout size is set to the minimum size needed for the
instruments. You can intentionally choose this minimum size by selecting Fit to
Min.
Grid properties Grid enabled Lets you specify whether a grid is visible in the layout. If
enabled, you can specify the values for the width and height of the grid in
pixels. If you move or create instruments on a layout with the grid enabled, they
will be snapped to it.
Grid size - Height Lets you specify the vertical line spacing of the grid.
Grid size - Width Lets you specify the horizontal line spacing of the grid.
82
ControlDesk Layouting May 2024
Layout Properties
Instruments properties Selection handle enabled Lets you specify whether the instrument's
selection handle is visible. The selection handle is a small rectangle that appears
in the top left corner of an instrument when you move the pointer over it.
The following illustration shows an example:
When a layout is in locked mode, the selection handle of the instruments on this
layout is visible but not functional.
Layout properties Background color Opens a dialog where you can choose a color. Click a
color or enter RGB values to define it.
Tip
Locked Lets you lock/unlock the layout for editing. To lock layout editing is
an appropriate means to protect a layout from unintentional changes. If layout
editing is locked you cannot, for example, delete, add, or move instruments.
Some actions belonging to the variables of an instrument are also restricted. For
example, you cannot add variables via drag & drop.
Symbol Meaning
Locked mode
Unlocked mode
Layout name Lets you specify the name of the layout. Changing this name
will save the layout under the new name. The names of the layouts in an
experiment must be unique.
Script Lets you assign Python code to an event of the selected layout. The
Code Editor dialog is opened, containing event handler templates for the
layout. Refer to Code Editor Dialog (ControlDesk Instrument Handling ). For
more information on adding a script to a layout, refer to Adding a Python Script
to an Instrument or Layout (ControlDesk Customization ).
Source Layout Properties Lets you display the path to a linked layout as a
relative or an absolute path. You create a linked layout by activating Import as
link when you import a layout from somewhere else, such as from a layout pool.
Refer to Import Layout on page 71.
Source Layout – Relative Lets you specify to display the path of a linked
layout in relation to the project's layout folder.
83
May 2024 ControlDesk Layouting
Reference Information
Source Layout – Path Displays the path of a linked layout. If Source Layout
- Relative is selected, the layout path is displayed in relation to the project's
layout folder.
References
Locked Mode
Note
Symbol Meaning
Locked mode
Unlocked mode
84
ControlDesk Layouting May 2024
Make Same Height
an instrument are also restricted. For example, you cannot add variables via drag
and drop.
HowTos
Note
Purpose To resize the selected instruments in the layout to the height of the last selected
item.
85
May 2024 ControlDesk Layouting
Reference Information
Note
Purpose To resize the selected instruments in the layout to the width and height of the
last selected item.
Note
86
ControlDesk Layouting May 2024
Move Down
Purpose To resize the selected instruments in the layout to the width of the last selected
item.
Move Down
Note
Purpose To move the selected instruments in the layout one layer down.
Result The selected instruments are covered by the instruments on higher layers if their
borders overlapped before this command was carried out.
References
Move Up.................................................................................................................................. 88
87
May 2024 ControlDesk Layouting
Reference Information
Move Up
Note
Purpose To move the selected instruments in the layout one layer up.
Result The selected instruments will cover the instruments on lower layers if their
borders overlapped before this command was carried out.
References
Move Down............................................................................................................................. 87
Open (Layout)
Ribbon None
Context menu of Project pane – layout(s) that are currently closed
Shortcut key None
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
88
ControlDesk Layouting May 2024
Paste / Paste Instruments with Connections
Result The layouts are opened with all its instruments and variable connections.
If you want to open a layout which is not part of the active experiment you must
import it. Refer to Import Layout on page 71.
Ribbon None
Context menu of § Layout
§ Layout Navigator - Layout
Shortcut key None
Icon
Note
Purpose To paste the copied instruments in the current layout with variable connections.
Result The copied instrument is pasted in the current layout with variable connections.
89
May 2024 ControlDesk Layouting
Reference Information
Ribbon None
Context menu of § Layout
§ Layout Navigator - Layout
Shortcut key None
Icon
Note
Purpose To paste the copied instruments in the current layout without variable
connections.
Result The copied instrument is pasted in the current layout without variable
connections.
Remove (Layout)
Ribbon None
Context menu of § Project pane – Layout
§ Layout Navigator - Layout
Shortcut key Delete
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
90
ControlDesk Layouting May 2024
Rename (Layout)
Note
Result The selected layouts are removed from the experiment. You should save the
experiment afterwards.
You will be asked if you also want the selected layouts to be removed from your
file system.
Note
Rename (Layout)
Ribbon None
Context menu of § Project pane – layout
§ Layout Navigator – layout
Shortcut key F2
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Note
91
May 2024 ControlDesk Layouting
Reference Information
Result This will save the layout under the new name.
Note
Note
The options are only active when the experiment contains a mapping file
and a platform/device with a variable description.
92
ControlDesk Layouting May 2024
Replace Variables with Mappings
Result Resolvable mappings connected to instruments are replaced with their associated
variables.
Note
Note
The options are only active when the experiment contains a mapping file
and a platform/device with a variable description.
93
May 2024 ControlDesk Layouting
Reference Information
Result The result depends on the resolvability and the number of mappings associated
with the same variable connection on a layout:
§ If exactly one mapping is associated with a variable, the variable is replaced
with the associated mapping.
§ If no mapping is associated with a variable, the variable is not replaced by a
mapping.
§ If several mappings are associated wih the same variable, ControlDesk sorts
the mappings alphabetically. The variable is replaced with the first mapping
from the alphabetically sorted list.
Scroll to Instrument
Ribbon None
Context menu of Instrument Navigator - instrument node
Shortcut key None
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Result If necessary, ControlDesk scrolls the layout to make the selected instrument
visible.
Instrument Navigator................................................................................................................ 75
94
ControlDesk Layouting May 2024
Send to Back
Send to Back
Note
Result The selected instruments are covered by the instruments in the foreground if
their borders overlapped before this command was carried out.
References
Bring to Front........................................................................................................................... 60
Show Disconnected
95
May 2024 ControlDesk Layouting
Reference Information
Purpose To highlight the instruments which are not connected with a main variable in the
current layout.
Result Each instrument without a connected main variable is highlighted in the current
layout with a red frame.
References
Delete Invalid............................................................................................................................ 65
Space Across
Note
Purpose To equalize the distance of selected instruments in the layout between the left-
most and right-most instruments.
96
ControlDesk Layouting May 2024
Space Down
Space Down
Note
Purpose To equalize the distance of selected instruments in the layout between the
uppermost and lowest instruments.
Ribbon None
Context menu of § Layout
§ Layout Navigator - Layout
Shortcut key None
Icon None
Tool automation LayoutDocument / IXaLayoutDocument <<Interface>>
(ControlDesk Automation )
Purpose To switch the variable connections of all the instruments of the selected layout to
another source.
97
May 2024 ControlDesk Layouting
Reference Information
Description This command provides a submenu that lists up to five open measurement data
files and the current measurement if available. The instruments on the layout are
connected to the variables in the selected source.
Note
References
Synchronize (Layout)
Access This command is available only if the experiment layout references an external
layout that is available in the file system. You can access this command via:
Ribbon None
Context menu of Project pane – Experiment Layouts folder - linked
layouts
Shortcut key None
98
ControlDesk Layouting May 2024
Synchronize (Layout)
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Note
Purpose To synchronize the local copy of a layout with the layout it is referenced to.
Result The Synchronize Layouts dialog is opened for you to write the settings from
the local layout to the referenced layout or vice versa.
Synchronize Layouts dialog The dialog displays the local layout, i.e., the layout imported to the experiment,
and the referenced layout, i.e., the layout in the external folder to which the
local layout is linked.
Overwrite Referenced Layout Lets you write the settings from the local
layout to the referenced layout.
Overwrite Local Layout Lets you write the settings from the referenced
layout to the local layout.
Open in File Explorer (available in the context menu of layout names in the
dialog)Lets you open the folder of the selected layout in the File Explorer.
References
99
May 2024 ControlDesk Layouting
Reference Information
Ungroup
Note
Result The group is split up into the single instruments. You can handle the instruments
separately again.
Visualization Page
The dialog can be opened via the Options Command (ControlDesk User
Interface Handling ).
Dialog settings Use display identifier Lets you specify whether to use a variable-specific alias
name instead of the real variable name.
100
ControlDesk Layouting May 2024
Visualization Page
Always ask before removing unused signals Lets you specify whether
ControlDesk prompts you to confirm the removal of signals no longer used in
the measurement signal list .
Note
101
May 2024 ControlDesk Layouting
Reference Information
Example:
1. The Variable Array in the following illustration has an invalid variable
connection:
§ If the option is disabled, and when you import a CONX file with a valid
variable connection for an instrument that has an invalid variable connection
before the import, the invalid variable connection is replaced.
For more information on importing variable connections, refer to Import
Connections on page 70.
102
ControlDesk Layouting May 2024
Visualize Variables
§ If the option is disabled, and when you import a layout to an experiment that
already contains a layout of the same name, the layout is imported under a
new name.
For more information on importing layouts, refer to Import Layout on page 71
and Import Linked Layout on page 72.
HowTos
References
Visualize Variables
Ribbon None
Context menu of Variable list in the Variables pane and in the
Measurement Data Pool
Shortcut key Enter
Icon None
Tool automation Layout- and Instrument-Related Interfaces on
page 118
Note
Result The variable is connected with its default instrument. The default instrument is
placed on the currently active layout.
103
May 2024 ControlDesk Layouting
Reference Information
Description Note
References
104
ControlDesk Layouting May 2024
Automation
Automation
105
May 2024 ControlDesk Layouting
Automation
Introduction Visualizing variables means placing variables on layouts so that they are displayed
by instruments.
Unless otherwise indicated, the program listings below consist of excerpts from
the LayoutAndInstrumentHandling.py demo script.
Creating a new layout The following listing shows how to create a new layout.
class MainDemoController(object):
(...)
def AddAndRemoveLayout(self):
(...)
# Add new layout.
newLayout = self.ControlDeskApplication.LayoutManagement.Layouts.Add("NewTestLayout")
Accessing and removing an The following listing shows how to access an existing layout and then to remove
existing layout it from the project and from the hard disk. The parameter of the Remove method
specifies whether the layout is removed from the project and from the hard disk
(True) or from the project only (False).
106
ControlDesk Layouting May 2024
Programming ControlDesk Automation
class MainDemoController(object):
(...)
def AddAndRemoveLayout(self):
(...)
LAYOUTNAME = "Layout1.lay"
(...)
# Check if the layout with the name "Layout1.lay" exists.
if self.ControlDeskApplication.LayoutManagement.Layouts.Contains(LAYOUTNAME):
# Get layout with the name "Layout1.lay".
layout1 = self.ControlDeskApplication.LayoutManagement.Layouts.Item(LAYOUTNAME)
# Remove layout.
layout1.Remove(True)
Accessing an open layout You can access a currently open layout via
the Layouts / IXaLayouts <<Collection>> collection property of the
LayoutManagement / IXaLayoutManagement <<Interface>> interface.
Closed layouts are not included in the Layouts / IXaLayouts
<<Collection>> collection.
Accessing a closed layout You can access a currently closed layout via
the Files / IXaFiles <<Collection>> collection property of the following
interfaces:
§ LayoutManagement / IXaLayoutManagement <<Interface>>
§ ActiveExperiment / IXaActiveExperiment <<Interface>>
Note
Configuring the properties of The following listing shows how to specify the name, grid width, grid height,
a layout and background color of a layout.
107
May 2024 ControlDesk Layouting
Automation
Exporting/Importing a layout The following listing shows how to export the active layout to
ExportLayout.lax and how to import it.
# Import: The os module is used for path concatenations.
import os
# Create new root path in the temporary system folder.
PROJECTROOTPATH = os.path.join(tempfile.gettempdir(), "DemoRoot")
(...)
# Path of the exported layout.
EXPORTPATH = os.path.join(PROJECTROOTPATH,"ExportLayout.lax")
(...)
class MainDemoController(object):
(...)
def ExportAndImportLayout(self):
(...)
# Export active layout.
self.ControlDeskApplication.LayoutManagement.ActiveLayout.Export(EXPORTPATH)
(...)
# Import layout.
self.ControlDeskApplication.LayoutManagement.Layouts.Import(EXPORTPATH)
Placing instruments on a The following listing shows how to place three instruments on a layout and then
layout align them.
108
ControlDesk Layouting May 2024
Programming ControlDesk Automation
class MainDemoController(object):
(...)
def AddLayoutWithInstruments(self):
(...)
# Add Time Plotter instrument.
plotterInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.\
Instruments.Add("Time Plotter", PLOTTERINSTRUMENTNAME,
0, 0, 300, 200)
# Add Knob instrument.
knobInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.\
Instruments.Add("Knob", KNOBINSTRUMENTNAME,
310, 100, 200, 200)
# Add Variable Array instrument.
arrayInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.\
Instruments.Add("Variable Array", VARIABLE_ARRAY_INSTRUMENT_NAME,
580, 200, 300, 200)
(...)
# Select all three instruments.
plotterInstrument.SelectMulti()
knobInstrument.SelectMulti()
arrayInstrument.SelectMulti()
# Get instrument selection.
instrumentSelection = self.ControlDeskApplication.LayoutManagement.ActiveLayout.Selection
# Align instruments to bottom.
instrumentSelection.AlignTop()
# Center instrument selection.
instrumentSelection.CenterInViewHorizontally()
(...)
# Deselect all instruments.
instrumentSelection.DeselectAll()
Accessing and configuring The following listing shows how to access a Time Plotter and change its position
instruments on the layout.
PLOTTERINSTRUMENTNAME = "TestPlotter"
(...)
class MainDemoController(object):
(...)
def AddLayoutWithInstruments(self):
(...)
# Get the Time Plotter instrument and increment its width.
if self.ControlDeskApplication.LayoutManagement.ActiveLayout.Instruments.Contains(PLOTTERINSTRUMENTNAME):
plotterInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.Instruments.\
Item(PLOTTERINSTRUMENTNAME)
# Increment the Plotter instrument's width.
plotterInstrument.Position.Width += 300
# Move the Plotter to the left.
plotterInstrument.Position.X = 0
Tip
You can get the path of an instrument by dragging it from a layout to the
Internal Interpreter or to the Python Editor.
109
May 2024 ControlDesk Layouting
Automation
Note
Keep in mind, however, that custom data is available only via automation,
not via ControlDesk's Properties pane when you select the instrument.
Getting the name of a layout The automation interface of instruments provides the LayoutName property
on which an instrument is that provides the name of the layout on which the instrument is located. The
located LayoutName property is helpful, for example, in instrument scripts and event
handlers .
Connecting variables to The following listing shows how to connect variables to instruments. In the
instruments listing, the strings for the assignment of the variable connection are stored
in the VARIABLECONNECTIONPATHTEMPLATES list. To connect a variable to an
instrument, a platform/device with a variable description (or a measurement data
file) must be available in the active experiment. Variable connections are shown
for a Knob , a Variable Array , a Time Plotter , and a Table Editor .
110
ControlDesk Layouting May 2024
Programming ControlDesk Automation
Tip
You can get the path or URI of a variable by selecting Copy in the variable's
context menu in the Variables pane or Measurement Data Pool, and
pasting it to the Internal Interpreter or to the Python Editor. Depending
on the Variable serialization format selected on the Variables (refer to
Variables Page (ControlDesk Variable Management )) page, either the
connection path or the uniform resource identifier is copied.
111
May 2024 ControlDesk Layouting
Automation
def EditPlotter(self):
(...)
# Get Time Plotter instrument.
plotterInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.Instruments.Item(
PLOTTERINSTRUMENTNAME)
(...)
# Configure x-axis.
xAxis = plotterInstrument.ActivePlot.ActiveXAxis
(...)
# Configure y-axes.
yAxes = plotterInstrument.ActivePlot.YAxes
# Add new y-axis.
newYAxis = yAxes.Add()
(...)
# Add new signal to axis.
newSignal = newYAxis.Signals.Add()
# Connect variable to signal.
newSignal.MainVariable = VARIABLECONNECTIONPATHTEMPLATES[2] % self.DemoPlatform.Name
(...)
def CreateAndEditTableEditor(self):
(...)
# Add Table Editor instrument.
tableEditorInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.Instruments.Add(
"Table Editor", TABLEDITORINSTRUMENTNAME, 0, 0, 500, 500)
(...)
# Add sub instrument.
tableEditorInstrument.SubInstruments.Add()
# Create the event sink for the table editor.
tableEditorInstrument = DispatchWithEvents(tableEditorInstrument, TableEditorInstrumentEvents)
# Connect common axis variable to active sub instrument
tableEditorInstrument.ActiveSubInstrument.MainVariable = VARIABLECONNECTIONPATHTEMPLATES[4] %
self.DemoPlatform.Name
Grouping layouts The following listing shows how to group layouts, including the following steps:
1. Multiple layouts are added to the Experiment Layouts folder.
2. Multiple groups are added to the Experiment Layouts folder.
3. One sub group is added to the first group.
4. One layout is added to each group.
5. One layout is added to the sub group.
class MainDemoController(object):
(...)
def GroupLayouts(self):
(...)
# Add some layouts to the experiment.
for index in range(1, 7):
# Add new layout.
newLayout = self.ControlDeskApplication.LayoutManagement.Layouts.Add("NewTestLayout_%d" % index)
newLayout.Window.State = self.Enums.WindowState.Maximized
(...)
# Get default folder for layouts.
defaultFolderLayouts = self.ControlDeskApplication.ActiveExperiment.GetDefaultFolder(self.Enums.FileType.Layout);
for index in range(1, 5):
# Add new group.
defaultFolderLayouts.Groups.Add("Group_%d" % index)
112
ControlDesk Layouting May 2024
Programming ControlDesk Automation
3-D Viewer: Adding roads via The automation interface of the 3-D Viewer lets you import complete road
MAT file import networks from MAT files created with the ModelDesk Road Generator.
Table Editor: Configuring The 2D view of the Table Editor lets you display table values as a 2‑dimensional
properties of the 2D view chart.
The following lines show you how to make the 2D view invisible:
TE = Application.LayoutManagement.ActiveLayout.Instruments.Item(0)
TE.SubInstruments[0].Views.Projection.Visible = False
113
May 2024 ControlDesk Layouting
Automation
The following line shows you how to make the 2D view invisible:
TE.SubInstruments[1].Views.GraphicalView2D.Visible = False
114
ControlDesk Layouting May 2024
Programming ControlDesk Automation
Activating working and The following listing shows how to make the third data set of the active
reference data sets experiment the working data and the second data set the reference data set
(excerpts from the DataSetHandling.py demo script).
115
May 2024 ControlDesk Layouting
Automation
class MainDemoController(object):
(...)
def Initialize(self):
(...)
# Start ControlDesk.
self.ControlDeskApplication = Dispatch("ControlDeskNG.Application")
# Define Enums object.
self.Enums = Enums(self.ControlDeskApplication)
# Add XCP on CAN platform.
self.DemoPlatform = self.ControlDeskApplication.ActiveExperiment.Platforms.Add(
self.Enums.PlatformType.XCPonCAN)
(...)
def DefineWorkingAndReferenceSet(self):
# Get the last created data set
newDataSet = self.DemoPlatform.ActiveVariableDescription.DataSets.Item(2)
# Set data set to working set
newDataSet.MakeWorking()
# Activate the working data set.
newDataSet.Activate()
# Set the second data set as the reference data set.
self.DemoPlatform.ActiveVariableDescription.DataSets.Item(1).MakeReference()
Changing parameter values The following listing shows how to change the values of parameters
that are connected to a Variable Array (excerpts from the
LayoutAndInstrumentHandling.py demo script).
# Get the root path
SCRIPTPATH = os.path.abspath(os.path.curdir)
if len(sys.argv) > 0:
SCRIPTPATH = os.path.dirname(sys.argv[0])
# Define CalDemo .a2l image path.
A2LIMAGEPATH = os.path.abspath(os.path.join(SCRIPTPATH, "..\..\..\CalDemo\CalDemo.a2l"))
# Define CalDemo .mot image path.
MOTIMAGEPATH = os.path.abspath(os.path.join(SCRIPTPATH, "..\..\..\CalDemo\CalDemo.mot"))
(...)
# A list with string representations of some variables used in this demo.
VARIABLECONNECTIONSTRINGS = ["%s()://DummyOmega", "%s(5ms)://control_out",
"%s(OnChange)://f_Ki_1", "%s()://abs_sinp2_cosp2_table",
"%s()://airmass_x_table", "%s()://MeasureVector_MASK_0x0100[2]"]
(...)
# Name of the Variable Array instrument.
VARIABLE_ARRAY_INSTRUMENT_NAME = "TestVariableArray"
(...)
class MainDemoController(object):
(...)
def AddPlatformAndConnectVariableToKnobInstrument(self):
(...)
# Add XCP on CAN platform.
self.DemoPlatform = self.ControlDeskApplication.ActiveExperiment.
Platforms.Add(self.Enums.PlatformType.XCPonCAN)
self.DemoPlatform.VariableDescriptions.AddWithImage(A2LIMAGEPATH, MOTIMAGEPATH)
(...)
116
ControlDesk Layouting May 2024
Programming ControlDesk Automation
def EditVariableArray(self):
# Get Variable Array instrument.
variableArrayInstrument = self.ControlDeskApplication.LayoutManagement.ActiveLayout.Instruments.Item(
VARIABLE_ARRAY_INSTRUMENT_NAME)
(...)
# Add new rows associated with variables.
for index in range(3):
# Add new row
newRow = variableArrayInstrument.Rows.Add()
# Add variable to row.
newRow.MainVariable = VARIABLECONNECTIONSTRINGS[index] % self.DemoPlatform.Name
# Set value.
newRow.Value = 3.0 * index
Note
When you try to set the value of a parameter outside the parameter's
value range, these changes are discarded without notice. However, you can
implement a notification yourself by reading back the parameter value from
the instrument.
This applies only when you calibrate a parameter by changing its value in an
instrument on a layout. It does not apply when you use the direct variable
access feature (refer to Automating Direct Variable Access (ControlDesk
Automation )).
For information on parameter range limits, refer to Handling Parameter
Range Limits (ControlDesk Calibration and Data Set Management ).
117
May 2024 ControlDesk Layouting
Automation
Introduction The main tasks of ControlDesk’s layout and instrument handling are to create
and open layouts, create and configure instruments and connect variables to the
layouts.
Related interfaces
Interface Description
IXaLayoutManagement (refer to LayoutManagement / This interface is to access visualization including layouts
IXaLayoutManagement <<Interface>> (ControlDesk and instruments.
Automation ))
IXaLayoutDocument (refer to LayoutDocument / This interface is to access a single currently open layout
IXaLayoutDocument <<Interface>> (ControlDesk document.
Automation ))
IViTopLevelInstruments (refer to TopLevelInstruments / Interface for the top-level instruments collection.
IViTopLevelInstruments <<Interface>> (ControlDesk
Automation ))
IViInstrumentLibraries (refer to InstrumentLibraries / Automation interface for instrument libraries.
IViInstrumentLibraries <<Collection>> (ControlDesk
Automation ))
IViInstrumentDefaults (refer to InstrumentDefaults / Automation interface for instrument defaults.
IViInstrumentDefaults <<Interface>> (ControlDesk
Automation ))
IXaLayouts (refer to Layouts / IXaLayouts <<Collection>> This interface is to access the list of currently open layout
(ControlDesk Automation )) documents.
118
ControlDesk Layouting May 2024
Layout and Instrument Handling
Related documentation
Topic Description
Automating Visualization of Variables on Layouts on Visualizing variables means placing variables on layouts
page 106 so that they are displayed by instruments.
119
May 2024 ControlDesk Layouting
Automation
120
ControlDesk Layouting May 2024
Limitations
Limitations
Renaming layouts If you rename a ControlDesk layout, you must save the related experiment
before closing it or activating another experiment. If you do not save the
experiment after you rename an included layout, the experiment cannot find the
layout the next time you open the experiment. The connection to the renamed
layout is lost.
Visualizing array and struct If the names of an array or struct element and of a scalar variable are
elements with ambiguous ambiguous, and when you place such an element on an instrument, ControlDesk
names actually connects the scalar variable with the same name to the instrument.
In other words, you cannot connect individual array or struct elements to an
instrument if the element names are ambiguous.
121
May 2024 ControlDesk Layouting
Limitations
122
ControlDesk Layouting May 2024
Glossary
Glossary
Introduction Briefly explains the most important expressions and naming conventions used in
the ControlDesk documentation.
Numerics............................................................................................... 124
A........................................................................................................... 124
B........................................................................................................... 125
C........................................................................................................... 126
D........................................................................................................... 130
E........................................................................................................... 134
F............................................................................................................ 136
G........................................................................................................... 137
H........................................................................................................... 138
I............................................................................................................ 138
K........................................................................................................... 140
L............................................................................................................ 140
M.......................................................................................................... 141
N........................................................................................................... 145
O........................................................................................................... 145
P........................................................................................................... 146
Q........................................................................................................... 148
R........................................................................................................... 149
S........................................................................................................... 150
123
May 2024 ControlDesk Layouting
Glossary
T........................................................................................................... 153
U........................................................................................................... 154
V........................................................................................................... 155
W.......................................................................................................... 157
X........................................................................................................... 158
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
124
ControlDesk Layouting 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.
125
May 2024 ControlDesk Layouting
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) .
126
ControlDesk Layouting 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)
127
May 2024 ControlDesk Layouting
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.
128
ControlDesk Layouting 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.
129
May 2024 ControlDesk Layouting
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.
130
ControlDesk Layouting May 2024
D
131
May 2024 ControlDesk Layouting
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.
132
ControlDesk Layouting 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
133
May 2024 ControlDesk Layouting
Glossary
134
ControlDesk Layouting 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.
135
May 2024 ControlDesk Layouting
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.
136
ControlDesk Layouting 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.
137
May 2024 ControlDesk Layouting
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).
138
ControlDesk Layouting 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
139
May 2024 ControlDesk Layouting
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.
140
ControlDesk Layouting 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 .
141
May 2024 ControlDesk Layouting
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 .
142
ControlDesk Layouting May 2024
M
Measurement variable Any variable type that can be measured but not
calibrated.
143
May 2024 ControlDesk Layouting
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.
144
ControlDesk Layouting 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.
145
May 2024 ControlDesk Layouting
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.
146
ControlDesk Layouting 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.
147
May 2024 ControlDesk Layouting
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.
148
ControlDesk Layouting 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.
149
May 2024 ControlDesk Layouting
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.
150
ControlDesk Layouting 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 .
151
May 2024 ControlDesk Layouting
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.
152
ControlDesk Layouting 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
153
May 2024 ControlDesk Layouting
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.
154
ControlDesk Layouting 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 ).
155
May 2024 ControlDesk Layouting
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.
156
ControlDesk Layouting 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.
157
May 2024 ControlDesk Layouting
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.
158
ControlDesk Layouting 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.
159
May 2024 ControlDesk Layouting
Glossary
160
ControlDesk Layouting May 2024
Index
Index
C
Common Program Data folder 8, 128
configuring the properties of a layout 18
connecting variables to instruments 34
ControlDesk Options dialog
Visualization page 100
creating a new layout 18
creating layout pools 23
customizing the connection assignment of
variables to instruments 38
D
Documents folder 8, 133
E
exporting layouts 21, 26
I
importing layouts 21, 26
Instrument Navigator command 75
Instrument Selector 139
instruments
optimizing the arranging of instruments 47
L
Layout Navigator command 79
Local Program Data folder 8, 141
M
Measurement Data Pool 142
Messages pane 143
O
optimizing the arranging of instruments 47
P
Platforms/Devices pane 147
Project pane 148
Properties pane 148
V
visualization
configuring the properties of a layout 18
connecting variables to instruments 34
creating a new layout 18
creating layout pools 23
customizing the connection assignment of
variables to instrument 38
exporting layouts 21
exporting variable connections 26
importing layouts 21
optimizing the arranging of instruments 47
161
May 2024 ControlDesk Layouting
Index
162
ControlDesk Layouting May 2024