Vehicle Network Toolbox XCP Simulink Blocks

This section describes how to use the Vehicle Network Toolbox™ XCP block library. The library contains these blocks:

  • XCP CAN Transport Layer— Transmit and Receive XCP messages over CAN bus.

  • XCP CAN Configuration — Configure XCP settings for CAN.

  • XCP CAN Data Acquisition — Acquire XCP data over CAN.

  • XCP CAN Data Stimulation — Stimulate XCP data over CAN.

  • XCP UPD Configuration — Configure XCP settings for UDP.

  • XCP UDP Data Acquisition — Acquire XCP data over UDP.

  • XCP UDP Data Stimulation — Stimulate XCP data over UDP.

The Vehicle Network Toolbox XCP block library is a tool for handling XCP message traffic on a CAN network or by UDP. You can use blocks from the block library with blocks from other Simulink® libraries to create sophisticated models.

To use the Vehicle Network Toolbox XCP block library, you require Simulink, a tool for simulating dynamic systems. Simulink is a model definition environment. Use Simulink blocks to create a block diagram that represents the computations of your system or application. Simulink is also a model simulation environment. Run the block diagram to see how your system behaves. If you are new to Simulink, read Getting Started with Simulink (Simulink) to understand its functionality better.