XCP Data Stimulation

Perform data stimulation on selected measurements

Library

XCP Communication

Description

The XCP Data Stimulation block sends data to the selected slave for the selected event measurements. The block uses the XCP CAN transport layer to output raw data for the selected measurements at the specified stimulation time step. Configure your XCP session and use the XCP Data Stimulation block to select your event and measurements on the configured slave. The block displays the selected measurements as input ports.

Other Supported Features

The XCP Data Stimulation block supports the use of Simulink® Accelerator™ and Rapid Accelerator mode. Using this feature, you can speed up the execution of Simulink models.

For more information on this feature, see the Simulink documentation.

The XCP Configuration block also supports code generation with limited deployment capabilities. Code generation requires the Microsoft® C++ compiler.

Dialog Box

Use the Block Parameters dialog box to select your data stimulation parameters.

Parameters

Config name

Select the name of XCP configuration you want to use. The list displays all available names specified in the available XCP Configuration blocks in the model. Selecting a configuration displays events and measurements available in this configuration's A2L file.

    Note:   You can stimulate measurements for only one event using an XCP Data Stimulation block. Use one block each for each event whose measurements you want to stimulate.

Event name

Select an event from the available list of events. The XCP Configuration block uses the specified A2L file to populate the events list.

Measurements

Search

Type the name of the measurement you want to use. The All Measurements lists displays a list of all matching terms. Click the x

to clear your search.

All Measurements

This list displays all measurements available for the selected event. Select the measurement you want to use and click the add button, to move it to the selected measurements. Hold the Ctrl key on your keyboard to select multiple measurements.

Selected Measurements

This list displays selected measurements. To remove a measurement from this list, select the measurement and click the remove button, .

Toggle buttons

Use the toggle buttons to reorder the selected measurements.

Was this topic helpful?