MicroAutoBoxIISoftwareGettingStarted
MicroAutoBoxIISoftwareGettingStarted
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
3
May 2024 MicroAutoBox II Software Getting Started
Contents
Glossary 61
Index 71
4
MicroAutoBox II Software Getting Started May 2024
About This Document
Content This document shows how to get started with the MicroAutoBox II in connection
with RTI and ControlDesk.
Symbol Description
Indicates a hazardous situation that, if not avoided,
V DANGER
will result in death or serious injury.
Indicates a hazardous situation that, if not avoided,
V WARNING could result in death or serious injury.
Indicates a hazardous situation that, if not avoided,
V CAUTION could result in minor or moderate injury.
Indicates a hazard that, if not avoided, could result in
NOTICE
property damage.
Indicates important information that you should take
Note
into account to avoid malfunctions.
Indicates tips that can make your work easier.
Tip
Indicates a link that refers to a definition in the
glossary, which you can find at the end of the
document unless stated otherwise.
Follows the document title in a link that refers to
another document.
Naming conventions dSPACE user documentation uses the following naming conventions:
5
May 2024 MicroAutoBox II Software Getting Started
About This Document
Special Windows folders Windows‑based software products use the following special folders:
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.
6
MicroAutoBox II Software Getting Started May 2024
Quick Start for Working with a MicroAutoBox II
Introduction After checking the preconditions, you can start work on typical use-cases.
Introduction The MicroAutoBox II must be installed before you can perform the steps
described in this document.
Required software installation To perform the first work steps, the installation of the following software is
required:
§ The MATLAB software must be installed with at least the following
components:
§ Simulink
§ Simulink® CoderTM
§ Necessary toolboxes, refer to
http://www.dspace.com/goto?toolboxes
7
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
The MATLAB version must match the available dSPACE Release. For
compatibility information, refer to http://www.dspace.com/goto?compatibility.
§ The following dSPACE software must be installed:
§ RTI (Real-Time Interface)
§ A C code cross compiler
§ ControlDesk
Refer to Installing dSPACE Software .
Required hardware To perform the first work steps, the MicroAutoBox II must be installed and
installation connected to the host PC via Ethernet.
Objective First you generate a real-time application for your dSPACE system.
Workflow To generate a real-time application, you have to perform the following steps:
Step Description
Step 1: Creating a Simulink model You have to create a Simulink model using MATLAB and Simulink.
Instead of programming C code manually, you implement the algorithm
graphically using Simulink blocks. The models are saved as SLX files.
Step 2: Specifying RTI I/O interfaces To connect the simulation model to the physical world, you need to
introduce I/O interfaces into the model. These allow you to replace parts
of your simulated model with real hardware. dSPACE's RTI (Real-Time
Interface) blocks provide I/O interfaces for accessing dSPACE hardware.
Step 3: Generating C code You can build the model created with Simulink and RTI blocks using the
Simulink® CoderTM. The Simulink® CoderTM generates C code from the
model automatically.
Step 4: Compiling and linking the real- The cross compiler environment compiles the generated C code and
time application links the object files and libraries into an executable application for the
real-time processor.
Precondition Before you can start the build and download procedure, you have to ensure that
your dSPACE hardware is registered correctly in ControlDesk. Refer to How to
Register a dSPACE System on page 25.
8
MicroAutoBox II Software Getting Started May 2024
How to Create a Real-Time Application
Tip
If you select the Do not show this dialog again checkbox, MATLAB
will always start with the platform that was last active.
This option can be reset by clicking the Click here to re-enable RTI
platform selection for next MATLAB start link in the MATLAB Command
Window.
3 Select Set template file automatically in the displayed dialog to set the
dSPACE‑specific options in the configuration parameters and to provide the
model template for the MicroLabBox.
9
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
5 From the LIBRARY ribbon, select New – RTI1401 to open a new model
based on the board‑specific template. If this entry is not displayed, check the
activation of the dSPACE platform described in step 2.
10
MicroAutoBox II Software Getting Started May 2024
How to Create a Real-Time Application
11
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
7 Add blocks from the Simulink Library Browser to the model via drag and
drop.
8 Add RTI blocks from the RTI library to the model via drag and drop, and
connect the blocks as shown in the following illustration.
Result You have generated a real-time application consisting of the following files:
File Description
MAP Map file with address information of variables
PPC Real-time application to be downloaded to the dSPACE real-time hardware
SDF System description file to be used by ControlDesk. It contains references to the PPC, MAP, and TRC file.
TRC Variable description file
TRZ If real-time testing is enabled for the generated real-time application, the build process generates a TRZ file
containing the MAP file and the TRC file.
12
MicroAutoBox II Software Getting Started May 2024
How to Experiment with a Real-Time Application in ControlDesk
Next step You can now experiment with the real-time application with ControlDesk. Refer
to How to Experiment with a Real-Time Application in ControlDesk on page 13.
Objective To experiment with the real‑time application, you can open a platform‑specific
ControlDesk demo.
Experimenting with a real- The Real‑Time application demos provided by ControlDesk let you quickly start
time application experimenting with a real-time application. They also let you familiarize yourself
with the ControlDesk instruments for measuring signals and changing parameter
values.
13
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
1 Start ControlDesk.
14
MicroAutoBox II Software Getting Started May 2024
How to Experiment with a Real-Time Application in ControlDesk
15
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
Interim result The following illustration shows the registered MicroAutoBox II in the
Platforms/Devices controlbar:
16
MicroAutoBox II Software Getting Started May 2024
How to Experiment with a Real-Time Application in ControlDesk
2 On the File ribbon, click Open – Open Project + Experiment to open the
demo experiment for your platform.
17
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
18
MicroAutoBox II Software Getting Started May 2024
How to Experiment with a Real-Time Application in ControlDesk
Result You experimented with the real-time application in ControlDesk and finished the
quick start using dSPACE hardware. If you need a detailed description of how
to experiment with ControlDesk, refer to Experimenting with ControlDesk on
page 50.
HowTos
References
19
May 2024 MicroAutoBox II Software Getting Started
Quick Start for Working with a MicroAutoBox II
20
MicroAutoBox II Software Getting Started May 2024
Detailed Description for Working with a dSPACE System
Introduction If the quick start instructions do not match your requirements, this document
also provides a detailed description for working with your dSPACE system.
21
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
22
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Workflow steps To access dSPACE hardware, you can use ControlDesk, which lets you
experiment with dSPACE systems. For example, you can use it to register dSPACE
boards, download applications and manage experiments.
The first time you access dSPACE real-time hardware, you have to perform the
following workflow steps:
1. Starting ControlDesk
ControlDesk is installed on the host PC during software installation. Refer to
How to Start ControlDesk on page 23.
2. Registering dSPACE boards
ControlDesk provides the Platforms/Devices pane that lets you register
dSPACE real-time hardware. Refer to How to Register a dSPACE System on
page 25.
3. Checking the configuration of dSPACE boards
When the dSPACE board is registered you can check the board
configuration. Refer to Checking the Configuration of the dSPACE Boards
on page 28.
4. Updating the firmware
Your board usually contains the latest firmware. If you install a new dSPACE
Release it may contain newer firmware. In this case the firmware should be
updated. Refer to Updating the Firmware on page 30.
23
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
User interface The following illustration shows the user interface of ControlDesk.
Quick Access Toolbar Ribbon Main window Working area with pages Search field
24
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Objective After installing dSPACE real‑time hardware, you have to make it known to
ControlDesk.
25
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Tip
26
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
3 Specify the registration settings for the dSPACE hardware you want to
register. The number and kinds of properties depend on the selected
platform type.
Common Properties
Platform name Lets you specify a unique name for the selected platform. After registration, the name is displayed in the
ControlDesk Platforms/Devices pane.
The valid characters are 'a ... z', 'A ... Z', '0 ... 9', '_', '-' and ' '. The name must not start or end with an
underline, hyphen or blank.
If you do not specify a platform name, ControlDesk displays a default name in the
Platforms/Devices pane.
Platform type Common Properties (ControlDesk Platform Management )
Note
You cannot subsequently add processing units or processor boards to a SCALEXIO system that is
already registered.
Each processing unit or processor board has an edit field to specify its connection parameter value and
an edit field to specify a unique name for it. After registration, the name is displayed in the ControlDesk
Platforms/Devices pane.
The valid characters are 'a ... z', 'A ... Z', '0 ... 9', '_', '-' and ' '. The name must not start or end with an
underline, hyphen or blank. If you do not specify a custom name for a processing unit or processor board,
ControlDesk displays a default name for it in the Platforms/Devices pane.
Scan for available Lets you scan the local network for connected platform hardware or simulators (VEOS). Depending on
processor boards/ the platform type to be registered, ControlDesk opens the Scan Local Network for Processor Boards,
processing units/ the Scan Local Network for Processing Units, or the Scan Local Network for Platforms dialog and
platforms displays all the platform hardware found in the network. Refer to Scan Local Network for Processor
Boards/ Processing Units /Platforms dialog (ControlDesk Platform Management ).
27
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Tip
28
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Objective To check whether the system is ready to experiment with real-time applications.
Check application and related To check whether your dSPACE system works correctly, it is recommended that
ControlDesk experiment you load the check application. There is a ZIP file with a backup of a ControlDesk
experiment referencing the check application. To check the configuration of
your system, open the ZIP file in ControlDesk and load the contained real‑time
application to the system.
29
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Objective After registration, you can view the properties of the dSPACE system.
Result You have viewed the properties of your dSPACE system. For a detailed
description of the properties, refer to Platform/Device-Related Properties
(ControlDesk Platform Management ).
30
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Basics on Firmware.................................................................................. 31
Gives you information on the different kinds of firmware.
Basics on Firmware
Introduction You can execute a real‑time application on dSPACE real‑time hardware only if
the different kinds of firmware are available. The loaded firmware version has to
provide the functionality implemented in the real‑time application.
Firmware features The firmware for a hardware component provides basic functionality that is
stored in a nonvolatile memory. For example, it includes functions for the
communication between the host PC and the hardware, and can also provide
I/O functions such as CAN or LIN protocol support, or complex I/O functions for
an FPGA component.
The firmware archives provides all the relevant firmware components that are
required for your hardware.
31
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Note
To program the firmware that supports the RTI DS1552 I/O Extension
blockset for the DS1552 Multi‑I/O module, you have to use the
DS1401UpdateExtIO command, which is described in the MicroAutoBox II
RTLib Reference .
Special firmware The firmware archives installed with your dSPACE software provide the standard
firmware type. There might be other firmware types to be managed with the
Firmware Manager.
Note
Note
If your real‑time hardware does not provide a secured mode for using the default
factory firmware, you have to repair the board's boot firmware. You can do this
via the command line interface of the firmware management or via the Platform
Manager. To repair the corrupted boot firmware via the command line interface,
refer to Examples of Script‑Based Firmware Management (Firmware Manager
Manual ).
32
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Preconditions The following preconditions must be fulfilled for configuring the general
firmware settings:
§ The real‑time hardware must be connected to the host PC.
§ The real‑time hardware must be switched on.
§ The required firmware archive must be available.
You can find the latest firmware archives on the dSPACE website at
https://www.dspace.com/go/firmware.
§ If a real‑time application is loaded to the board's flash memory, it is
recommended to clear the flash before starting the update process to avoid
unpredictable output signals.
If a real‑time application is running, it is stopped by the firmware
management.
§ If you have registered a multicore system with additional I/O boards, you have
to select the core to which the I/O boards are connected for the update of the
entire system. The other cores will be updated, too.
33
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
The latest firmware archive for the selected platform is automatically set.
Optionally, browse for another firmware archive. This might be useful if
you want to update to a firmware version other than the latest or repair
user firmware, for example. You find the installed firmware archives in
C:\Program Files\Common Files\dSPACE\Firmware Archives.
6 Click Next to continue with the Select Firmware Components dialog.
Result You have configured the settings which are required for a firmware update
process in update or repair mode.
34
MicroAutoBox II Software Getting Started May 2024
Accessing the Hardware with ControlDesk
Objective Gives you the instructions for the firmware update mode.
Preconditions The firmware update process has to be prepared with the Update Mode
specified as described in How to Prepare the Firmware Update on page 33.
NOTICE
Note
35
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
If there are updatable firmware components, the update process starts. You
can see the progress in the Status column. The initial '--' entry is replaced by
a percentage. If the progress information cannot be detected continuously,
only the states 50% and 100% are displayed. If the process successfully
finished, an OK is shown, otherwise an error message is displayed.
If the firmware update will require more than 40 minutes, an estimate of
the time is displayed. Then you can decide whether to start the process.
Interrupting a running firmware update process is not possible.
Note
You must not switch off the hardware during the firmware update
process. This will cause a corrupted firmware.
Follow the given instructions to complete the firmware update. For example,
some firmware components require a hardware restart.
36
MicroAutoBox II Software Getting Started May 2024
Implementing Models via Simulink/RTI or via Handcoding
Objective dSPACE Real-Time Interface (RTI) is the interface between Simulink and
the dSPACE systems: In connection with MATLAB®/Simulink®, the C code
for the real‑time model for a specific dSPACE system is generated by the
Simulink® CoderTM.
Preconditions § Ensure that MATLAB, Simulink, Simulink® CoderTM, and Real-Time Interface
(RTI) for your dSPACE system are properly installed.
§ The required licenses must be available and activated. For information on
handling the license mechanism, refer to Installing dSPACE Software .
37
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Tip
If you select the Do not show this dialog again checkbox, MATLAB
will always start with the platform that was last active.
This option can be reset by clicking the Click here to re-enable RTI
platform selection for next MATLAB start link in the MATLAB Command
Window.
3 In the MATLAB Command Window, enter rti to open the RTI block library
of your dSPACE system.
38
MicroAutoBox II Software Getting Started May 2024
Implementing Models via Simulink/RTI or via Handcoding
Result You started RTI and opened the RTI block library of your dSPACE system.
Next step Now you can work with a Simulink model. Refer to How to Implement a Model
via Simulink and RTI on page 39.
Demo model The smd_1401_sl demo model is an example of how to use the RTI library.
The demo simulates a damped spring‑mass system stimulated by a square-wave
signal. It is a ready-to-use example that does not require any I/O hardware.
39
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Precondition Before you can start the build and download procedure, you have to ensure that
your dSPACE hardware is registered correctly in ControlDesk. Refer to How to
Register a dSPACE System on page 25.
40
MicroAutoBox II Software Getting Started May 2024
Implementing Models via Simulink/RTI or via Handcoding
5 Press Ctrl + E.
The Configuration Parameters dialog opens.
6 On the Code Generation page, check that the system target file
(rti1401.tlc) and the template makefile (rti1401.tmf) match your
dSPACE system, and that the make command make_rti is specified. If
necessary, change the entries.
7 Press Ctrl + B to build the real-time application and download it to the
dSPACE system.
The smd_1401_sl.sdf system description file and the real-time application
are generated. The real-time application is loaded to your dSPACE system
and started automatically.
If the real‑time application — stored in the current MATLAB working folder
— is stopped, you can reload it to the dSPACE system using ControlDesk. No
new build process is needed if you do not change the Simulink model in the
meantime.
Result The real-time application is built and loaded to the dSPACE system.
Next steps You can use ControlDesk to stop and restart the real-time application. Refer to
Handling Real-Time Applications with ControlDesk on page 44.
41
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Objective A demo model shows you how to work with a C‑coded model.
C-coded demo model The C‑coded example model smd_1401_hc.c demonstrates how to proceed
without MATLAB and Simulink. This model does not require any I/O hardware. It
simulates a damped spring-mass system stimulated by a square‑wave signal. The
parameters are spring, mass and damper.
down1401 utility To compile and link the real-time application for your dSPACE system, you can
use the down1401 utility in a Command Prompt window. The utility downloads,
starts and checks the application as well.
Next step You can use ControlDesk to stop and restart the real-time application, refer to
Handling Real-Time Applications with ControlDesk on page 44.
42
MicroAutoBox II Software Getting Started May 2024
Implementing Models via Simulink/RTI or via Handcoding
43
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
How to Load an Application to the Program Memory and Start the Real-Time
Processor
Objective You can load real-time applications to the program memory and start the real-
time processor in the ControlDesk Platforms/Devices pane.
44
MicroAutoBox II Software Getting Started May 2024
Handling Real-Time Applications with ControlDesk
Method To download an application to the program memory and start the Real-
Time Processor
1 In the Platforms/Devices pane, open the context menu of your platform
icon (or multiprocessor icon) and select Real-Time Application - Load.
The Select Real-Time Application dialog opens.
2 In the Select Real-Time Application dialog, select an SDF file, or a PPC,
RTA, or x86 file (depending on the hardware type).
3 If a previously loaded application is still running on your system, a dialog
similar to the following opens:
If you click Yes, the running application is stopped before the new
application is downloaded and started.
Result You have downloaded an application to the program memory and started the
real-time processor.
How to Load an Application to the Flash Memory and Start the Real-Time Processor................ 47
References
Objective You can use the ControlDesk Platforms/Devices pane to stop an application
running on a real-time processor.
45
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
References
Objective You can use the ControlDesk Platforms/Devices pane to reload an application
running on a real-time processor.
Tip
46
MicroAutoBox II Software Getting Started May 2024
Handling Real-Time Applications with ControlDesk
References
How to Load an Application to the Flash Memory and Start the Real-Time
Processor
Objective To load and start a real-time application automatically after power-up of your
dSPACE system, load the application to its flash memory. This allows you to use
the dSPACE system stand-alone, without a connection to the host PC.
Flash memory The MicroAutoBox II is equipped with a flash memory for real-time applications.
Method To load a real-time application to the flash memory and start the real-
time processor
1 In the Platforms/Devices pane, open the context menu of your
platform and select Real-Time Application - Load to Flash
(DS1104/MicroAutoBox II Only).
The Select Real-Time Application dialog opens.
2 In the Select Real-Time Application dialog, select an SDF file, or a PPC,
RTA, or x86 file (depending on the hardware type).
3 If a previously loaded application is still running on your system, a dialog
similar to the following opens:
If you click Yes, the running application is stopped before the new
application is loaded and started.
47
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Result You have loaded an application to the flash memory and started the
real-time processor. The F next to the real-time application icon in the
Platforms/Devices pane indicates that the running application is loaded from
the flash memory.
How to Load an Application to the Program Memory and Start the Real-Time
Processor.................................................................................................................................. 44
References
Objective If you want to prevent the system from booting a flash application, you have to
clear the application from the flash memory.
2 Select one of the following commands to clear the memory (the available
options depend on the selected platform type):
§ Clear Complete Flash Memory to clear the whole flash memory.
§ Clear Flash Application to clear only the loaded application from the
application flash memory.
§ Clear Flight Recorder Data to clear the flight recorder data.
§ Clear Nonvolatile Data to clear only data that is stored as nonvolatile.
48
MicroAutoBox II Software Getting Started May 2024
Handling Real-Time Applications with ControlDesk
Result You have cleared the specified data from the flash memory.
How to Load an Application to the Flash Memory and Start the Real-Time Processor................ 47
References
49
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
Introduction You can use demo projects/experiments for your platform to experiment with
ControlDesk features. The Real‑Time application demo projects allow you to
work with ControlDesk and use all of its features with dSPACE real-time
hardware connected to the host PC.
Accessing the demo ControlDesk provides a demo project/experiment and related files for each
projects/experiments platform.
TRC file Provides information on available variables and how they are
grouped. Trace files are either generated by RTI/Simulink or hand-coded.
SDF file The system description (SDF) file specifies which executable is
downloaded to which processor.
50
MicroAutoBox II Software Getting Started May 2024
Experimenting with ControlDesk
Objective To measure the variable values of a running real‑time application, you have to
connect an instrument to the variables.
Tip
Working without the demo To show you how to set up a project/experiment and perform a measurement,
project/experiment the instructions below show all the steps from defining a project/experiment to
starting a measurement. For this reason, the instructions do not use the prepared
demo project/experiment, but only the variable description file contained in the
demo.
Preconditions The board must be registered. Refer to How to Register a dSPACE System on
page 25.
51
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
5 In the Add Platform / Device dialog, add the desired platform or device
and click Next > to open the Select Variable Description dialog.
7 Click Finish.
The new project/experiment opens.
52
MicroAutoBox II Software Getting Started May 2024
Experimenting with ControlDesk
9 In the Variable list, select the SignalGenOutput variable and drag it to the
new layout.
10 In the Instrument Type list, click Time Plotter.
53
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
54
MicroAutoBox II Software Getting Started May 2024
Experimenting with ControlDesk
55
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
17 Expand the Time Plotter to get a list of all plotted variables by clicking the
expand button in the lower right corner.
56
MicroAutoBox II Software Getting Started May 2024
Experimenting with ControlDesk
Setting Value
Platform Trigger 1 checkbox Selected
Reference Value edit field 65
Delay [s] edit field (click the expand button if hidden) 0.1
20 In the Measurement Configuration pane, click Platform - 1ms -
Duration Trigger 1.
21 Make the specifications as shown in the following illustration:
Setting Value
Duration Trigger 1 checkbox Selected
Duration edit field 0.1 s
The plotter now displays the data stream of the variable values when
triggered.
57
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
22 On the File ribbon, click Save Project or press Ctrl + Shift + S to save the
project/experiment.
Next steps For instructions on changing the parameters of a running application with
ControlDesk, refer to How to Change Parameter Values of a Running Application
on page 58.
HowTos
Objective You can change the parameter values of a running application with ControlDesk.
Demo project/experiment For a short description of the demo project/experiment, refer to Demo
Projects/Experiments and Related Files on page 50.
58
MicroAutoBox II Software Getting Started May 2024
Experimenting with ControlDesk
Preconditions The board must be registered. Refer to How to Register a dSPACE System on
page 25.
59
May 2024 MicroAutoBox II Software Getting Started
Detailed Description for Working with a dSPACE System
HowTos
60
MicroAutoBox II Software Getting Started May 2024
Glossary
Glossary
Introduction Briefly explains the most important expressions and naming conventions used
when you get started with dSPACE systems in connection with ControlDesk.
A............................................................................................................. 62
B............................................................................................................. 62
C............................................................................................................. 62
D............................................................................................................. 63
E............................................................................................................. 64
F.............................................................................................................. 64
G............................................................................................................. 64
I.............................................................................................................. 64
L.............................................................................................................. 65
M............................................................................................................ 65
O............................................................................................................. 66
P............................................................................................................. 66
R............................................................................................................. 66
S............................................................................................................. 67
T............................................................................................................. 67
U............................................................................................................. 68
V............................................................................................................. 69
W............................................................................................................ 69
61
May 2024 MicroAutoBox II Software Getting Started
Glossary
62
MicroAutoBox II Software Getting Started May 2024
D
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.
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.
63
May 2024 MicroAutoBox II Software Getting Started
Glossary
Expansion box A box that hosts dSPACE boards. It can be connected to the
host PC via bus connection or via network.
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.
64
MicroAutoBox II Software Getting Started May 2024
L
65
May 2024 MicroAutoBox II Software Getting Started
Glossary
Pane A separate area of the ControlDesk user interface that provides access
to a specific component, such as the Bus Navigator.
66
MicroAutoBox II Software Getting Started May 2024
S
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.
Time Plotter A plotter instrument for displaying signals that are measured in
a time-based raster (time plots).
67
May 2024 MicroAutoBox II Software Getting Started
Glossary
TRC file A variable description file with information on the variables available
in an environment model running on a dSPACE platform .
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 ).
68
MicroAutoBox II Software Getting Started May 2024
V
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 .
69
May 2024 MicroAutoBox II Software Getting Started
Glossary
70
MicroAutoBox II Software Getting Started May 2024
Index
Index
Properties pane 66
C
C-coded models 42 R
clearing application from flash memory 48 real-time application
Common Program Data folder 6 clearing from flash memory 48
CompactFlash card CompactFlash card 47
handling applications 47 flash memory 47
ControlDesk program memory 44
overview 23 registering
starting 23 dSPACE system 25
custom firmware 32 reloading application to global memory 46
D S
default factory firmware 32 SDF file 50
Documents folder 6, 63 Simulink model
down1401 42 handling 39
downloading starting
to global memory 44 ControlDesk 23
dSPACE system starting ControlDesk 23
registering 25 stopping application 45
E T
experimenting TRC file 50
with ControlDesk 50
U
F user firmware 32
firmware using ControlDesk 51
updating in secured mode 32
flash memory V
clearing application 48
viewing
handling applications 47
system properties 30
loading and starting application 47
G
global memory
reloading an application 46
stopping an application 45
I
implementing C models 42
Instrument Selector 65
L
loading
to flash memory 47
Local Program Data folder 6
M
MABXFwArchive 31
MAP file 50
Messages pane 65
P
Platforms/Devices pane 66
program memory
downloading and starting application 44
handling applications 44
Project pane 66
71
May 2024 MicroAutoBox II Software Getting Started
Index
72
MicroAutoBox II Software Getting Started May 2024