In this lesson, you learned the basic principles of configuring bus communication for simulation purposes:
To simulate bus communication, you have to assign communication matrix elements to the Simulated ECUs part of bus configurations.
To configure the bus communication, you can add bus simulation features to assigned elements.
Depending on the specific bus simulation feature, function ports are available. To access data at run time, you have to configure function ports:
To exchange data with a behavior model, you have to enable model access.
To access data via experiment software or automation scripts, you have to enable test automation support.
The LIN Schedule Table feature is automatically added to assigned LIN masters. This feature is mandatory to enable LIN communication. Additionally, the ISignal Value feature is automatically added to assigned ISignals.
You should regularly check the configured bus communication for conflicts and resolve conflicts. The Conflicts Viewer provides information on the conflict causes and possible remedies, and lets you resolve many conflicts.
You can resolve some conflicts by correcting conflicting communication matrix elements. When you do this, you change the communication matrix in the ConfigurationDesk application. The original communication matrix file remains unchanged.
The Lesson_2_Result application provides the result of this lesson. You can activate the application to compare it with your own results, for example. For more information, refer to Tutorial project and applications.
For more information on assigning communication matrix elements to bus configurations, refer to:
Bus Manager in ConfigurationDesk: Basics on Assigning Communication Matrix Elements to Bus Configurations
Bus Manager (stand-alone): Basics on Assigning Communication Matrix Elements to Bus Configurations
For more information on working with bus configuration features, refer to:
Bus Manager in ConfigurationDesk: Basics on Working with Bus Configuration Features
Bus Manager (stand-alone): Basics on Working with Bus Configuration Features
For more information on working with LIN schedule tables, refer to:
Bus Manager in ConfigurationDesk: Working with LIN Schedule Tables
Bus Manager (stand-alone): Working with LIN Schedule Tables
For more information on Bus Manager-related conflicts, refer to:
Bus Manager in ConfigurationDesk: Handling Bus Manager-Related Conflicts
Bus Manager (stand-alone): Handling Bus Manager-Related Conflicts
For more information on using tables in ConfigurationDesk applications, refer to Using Tables to Access and Configure Elements.
For more information on using keyboard shortcuts in ConfigurationDesk applications, refer to Using Keyboard Shortcuts.
For instructions on using Python to configure bus communication for simulation purposes, refer to LessonĀ 2: Configuring Bus Communication for Simulation Purposes.
Depending on your use scenario, you can now do the following:
Add an existing behavior model to the ConfigrationDesk application and map the model to the bus configuration. Refer to Lesson 3: Working with an Existing Behavior Model.
Generate a new SimulinkĀ® model. Refer to Lesson 9: Generating a Simulink Model and Synchronizing the Model Interfaces in ConfigurationDesk and Simulink.
Configure bus communication for inspection purposes. Refer to Lesson 6: Configuring Bus Communication for Inspection Purposes.
Configure bus communication for manipulation purposes. Refer to Lesson 7: Configuring Bus Communication for Manipulation Purposes.