To work through this lesson, you have to build a suitable executable application. The requirements for the application depend on your simulation platform.
Simulation Platform | Required Application | Refer to … |
|---|---|---|
| Real-time application | |
VEOS | Offline simulation application |
Your real-time hardware must meet the following requirements:
1 LIN channel
4 CAN channels
Only for SCALEXIO platforms: The LIN VBAT and LIN GND pins of the LIN channel are connected to an external 12 V power supply.
The CAN channels are physically connected as follows:
Channel 1 is connected to channel 2.
Channel 3 is connected to channel 4.
To establish the physical connection of the CAN channels, you need information on the mapping of CAN signals to bus lines of real-time hardware. The following table provides an overview of further hardware-related information.
Real-Time Hardware | Refer to … | |
|---|---|---|
SCALEXIO | DS2671 Bus Board | |
DS2672 Bus Module | ||
DS6301 CAN/LIN Board | ||
DS6302 CAN/LIN Board | ||
DS6341 CAN Board | ||
DS6344 CAN Board | ||
DS6345 CAN Board | ||
MicroAutoBox III | DS1511/DS1511B1 Multi-I/O Board | |
DS1513 Multi-I/O Board | ||
DS4342 CAN FD Interface Module | ||
MicroLabBox II | DS1303 Multi‑I/O Board | |
To build a suitable real-time application, the following licenses must be accessible:
ConfigurationDesk - CAN Module license (CFD_I_CAN)
ConfigurationDesk - LIN Module license (CFD_I_LIN)
Refer to How to Identify Accessible Licenses.
Activate the Lesson_ExpCD_Start application.
Refer to How to Activate an Application in the BusManagerTutorial Project.
Create or import a hardware topology that matches your real-time hardware.
You can automatically create a matching hardware topology by registering real-time hardware in ConfigurationDesk or by scanning hardware that is already registered. Refer to Basics on Hardware Topologies.
Assign hardware resources to the CAN and LIN function blocks that are used in the signal chain. Assign the physically connected CAN channels to the CAN function blocks as follows:
CAN Channel | CAN Function Block |
|---|---|
Channel 1 | CANBodyCluster_CentralGatewayECU |
Channel 2 | CANBodyCluster_Restbus |
Channel 3 | CANPowertrainCluster_CentralGatewayECU |
Channel 4 | CANPowertrainCluster_Restbus |
Configure the CAN and LIN function blocks according to the requirements of your real-time hardware (e.g., the transceiver type).
Refer to:
Only if you use a MicroAutoBox III or MicroLabBox II platform: Delete the PowerSupply device block from the signal chain.
With these platforms, no external power supply is required for LIN communication and you therefore do not need the PowerSupply device block.
Only if you use a MicroAutoBox III platform: Replace the bus simulation containers:
In the Model Browser, right‑click CentralGatewayECU and select Replace Model on the context menu.
In the Replace Model dialog, click Add model - Add model from file.
In the Select an Artifact dialog, select CentralGatewayECU_32‑bit.bsc and click Confirm Selection.

In the Replace Model dialog, click OK.
The bus simulation container is replaced. However, the displayed name does not change. You can check the replacement via Model location in the Properties Browser.
The displayed name in the Model Browser does not change because for BSC files with the <model name>_xx-bit naming scheme, the _xx-bit suffix is omitted in the ConfigurationDesk application.
Repeat the steps above and replace Restbus_Model with Restbus_Model_32‑bit.bsc
Select the Build view set.
In the Build Configuration table, select Global Build Settings.
Select the Download real-time application after build and Unload a loaded application checkboxes.
Clear the Load to flash memory and Start real‑time application checkboxes.

Build the real-time application.
For building and executing a suitable offline simulation application, the following licenses must be accessible:
VEOS base module license (VEOS_BASE)
VEOS CAN module license (VEOS_CAN)
VEOS LIN module license (VEOS_LIN)
You have to integrate the CentralGatewayECU and Restbus_Model BSC files into the offline simulation application. However, the specific required BSC files depend on the operating system of the used VEOS platform:
Operating System of the Used VEOS Platform | Compatible BSC Files |
|---|---|
|
|
Linux 64‑bit |
|
In VEOS, you can select a remote simulator to execute the offline simulation application. When you do this, the BSC files must be compatible with the selected simulator.
The BSC files are located in the Models folder of the BusManagerTutorial project. The path to the folder depends on your Bus Manager variant:
Bus Manager in ConfigurationDesk:
%USERPROFILE%\Documents\dSPACE\ConfigurationDesk\
<ReleaseVersion> (<ProductVersion>)\Tutorials\BusManagerTutorial\Models
Bus Manager (stand-alone):
%USERPROFILE%\Documents\dSPACE\BusManager\
<ReleaseVersion> (<ProductVersion>)\Tutorials\BusManagerTutorial\Models
If you use VEOS on Windows to build the offline simulation application, you can use the VEOS Player or the VEOS command line interface to do so. If you use VEOS on Linux, you can only use the VEOS command line interface.
To build the offline simulation application, do the following:
Only VEOS on Linux: Add a new folder to your home directory and name it BusManagerTutorial.
Build an offline simulation application by using the VEOS Player or the VEOS command line interface:
Import the CentralGatewayECU and Restbus_Model BSC files that are compatible with the used VEOS platform.
Name the offline simulation application Lesson_ExpCD_Start.osa.
Save the OSA file to:
VEOS on Windows: <VEOS Documents folder>
VEOS on Linux: ~/BusManagerTutorial
Load the OSA file to the VEOS platform without starting the offline simulation application.
Refer to How to Load and Run an Offline Simulation Application.