Step 4: How to Check the Configured Bus Communication for Conflicts and Resolve Conflicts

Objective

To efficiently configure bus communication in the ConfigurationDesk application, you should regularly check the configured bus communication for conflicts and resolve conflicts.


Part 1: To check the configured bus communication for conflicts

  1. In the Conflicts Viewer, click the expand arrow of the context set filter.

    The context sets are displayed. If you worked through lesson 1, all context sets are cleared as in the illustration above.

    Tip

    • The selection of context sets is stored locally on the host PC and applies to all ConfigurationDesk applications. The selection is preserved even when you close ConfigurationDesk or the Bus Manager (stand-alone). If you did not work through lesson 1, the selected context sets in your ConfigurationDesk application might therefore differ.

    • If you work with the Bus Manager (stand-alone), not all of the context sets are available.

    • The Shared Data Interface context set is available only as of Bus Manager 26.3.

  2. Select the Bus Configurations context set.

  3. Clear all other context sets, if required.

  4. Make sure that the Errors and Warnings filters are selected.

    The display of bus configuration conflicts is enabled and the Conflicts Viewer displays conflicts.

    The Exceeding PDUs and/or update bits (bus configuration) conflict results from a frame for which the communication matrix specifies conflicting settings. The other conflicts result from the configuration state of the bus communication in the bus configuration.

    Tip

    • You will resolve the conflicts of the Bus configuration and Bus access request contexts by configuring the bus communication in the following lessons.

    • If you work with the Bus Manager (stand-alone), no conflict with Bus access request context is displayed. This is because the Bus Manager (stand-alone) displays only conflicts that are relevant for the fields of application in which the Bus Manager (stand-alone) can be used.

  5. Select the Exceeding PDUs and/or update bits (bus configuration) conflict.

    The Conflicts Viewer displays a description of the conflict causes and provides remedies for resolving the conflict.

  6. Expand the Exceeding PDUs and/or update bits (bus configuration) node to the DoorLeftStatusCanFrameTriggerig node.

  7. Right-click the DoorLeftStatusCanFrameTriggerig node and select Select Related Elements in Bus Configurations Table on the context menu.

    In the Bus Configurations Table, the DoorLeftStatusCanIPdu is highlighted. This PDU is affected by the frame with the conflicting setting.

    Tip

    The Bus Communication page of the Properties Browser displays the frame properties.


Interim result

You checked the configured bus communication for conflicts. You explored the conflict cause of the Exceeding PDUs and/or update bits (bus configuration) conflict and the affected elements. You can now resolve this conflict. Continue with the next part.


Part 2: To resolve a bus configuration conflict

  1. Click the expand arrow of the context set filter.

  2. In the context set filter, select the Communication Matrices context set.

  3. Close the context set filter.

    The display of communication matrix conflicts is enabled. In addition to the bus configuration conflicts, the Conflicts Viewer displays a communication matrix conflict.

    The Exceeding PDUs and/or update bits conflicts of the communication matrix and the bus configuration result from the same conflicting element. However, only the bus configuration conflict affects the build process and the generation of bus simulation containers: If you do not resolve this conflict, no code is generated for the entire bus configuration when you start the build process or generate bus simulation containers.

  4. Completely expand the Exceeding PDUs and/or update bits (bus configuration) node.

    The Conflicts Viewer displays different options that let you resolve the conflict.

  5. For the DoorLeftStatusCanFrame, specify 2 as the value of the Length property.

    By this, you change the frame length from 1 byte to 2 bytes, which matches the 2 bytes of the related PDU. This change applies to the frame in the bus configuration and the communication matrix. Therefore, both Exceeding PDUs and/or update bits conflicts are resolved.

  6. In the Bus Configurations Table, select the DoorLeftStatusCanIPdu of the BodyControlEcu.

  7. In the Properties Browser, select the Bus Communication page.

    The Properties Browser displays the frame length, which is now 2 bytes. The Changes to communication matrix property indicates that the communication matrix was changed. However, this change applies only to the communication matrix in the ConfigurationDesk application. The original communication matrix file remains unchanged.

  8. In the Conflicts Viewer, click the context set filter.

    All context sets are cleared and the Conflicts Viewer displays no conflicts.


Result

You checked the configured bus communication for conflicts and resolved a conflict of an assigned conflicting communication matrix element. Because you corrected the conflicting setting in the communication matrix, you also resolved the related communication matrix conflict. Finally, you disabled the display of all conflicts.

Note

Displaying conflicts can significantly influence the performance of the ConfigurationDesk application. Depending on the complexity of the bus communication, this especially applies to Bus Manager-related conflicts. It is therefore recommended to display conflicts only when and as long as required.


What's next

With this step, you finished the lesson. For a summary of the lesson and for more information, refer to Result of Lesson 2.


Redaction