To manipulate bus communication, you have to assign communication matrix elements to the Manipulation part of a bus configuration and use bus configuration features to configure the manipulation behavior. For example, you can use bus configuration features to manipulate the length of frames or overwrite ISignal values.
In this lesson, you will manipulate bus communication before it is transmitted to the CentralGatewayEcu. For more information, refer to Use scenarios in this tutorial.
In general, three enable states can be distinguished for manipulating bus communication at run time:
Enable State | Description |
|---|---|
Disabled | Manipulation is disabled and the original data is transmitted. |
Permanently enabled | The affected bus configuration element is permanently manipulated until the enable state is changed explicitly. |
Temporarily enabled | The affected bus configuration element is manipulated for a defined number of times. After the number of times has elapsed, the enable state switches to disabled. |
Depending on whether bus manipulation features can be added to PDUs or ISignals, you can specify the run-time behavior as follows:
Bus Manipulation Feature Added to ... | Specifying the Run-Time Behavior |
|---|---|
PDU | You can specify the run-time behavior, i.e., the enable state, separately for each feature. If multiple features are added to one PDU, the features can therefore have different enable states. |
ISignal | You can specify the run-time behavior only once per ISignal, regardless of whether one or more manipulation features are added to the ISignal. This is because for ISignals only one manipulation feature can be active at a time. Therefore, a feature switch is available for each ISignal that lets you enable and disable the manipulation of the ISignal, activate a manipulation feature, and select whether it manipulates the ISignal permanently or temporarily. |
You can specify the initial run-time behavior and change the specified setting at run time.
In this lesson, you will learn how to assign communication matrix elements to the Manipulation part of a bus configuration and configure the assigned elements by using bus configuration features.
Before you begin this lesson, the following preconditions must be met:
You disabled a user‑defined bus configuration behavior. Refer to How to Disable a User-Defined Bus Configuration Behavior.
You prepared the bus configuration tables for working with the tutorial. Refer to How to Prepare Bus Configuration Tables for Working with the Tutorial.
The result of lesson 6 is available and the related application is active.
If you did not work through lesson 6, you can activate the Lesson_6_Results application. Refer to How to Activate an Application in the BusManagerTutorial Project.
Alternatively, you can use other applications as the starting point. For an overview of the suitable applications, refer to Overview of Lessons.
The lesson concludes with a summary of the lesson content and with further information. Refer to Result of Lesson 7.
Completing this lesson will take you about 20 minutes.