Perform data stimulation on selected measurements
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.
The XCP communication blocks support 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 communication blocks also support code generation with limited deployment capabilities. Code generation requires the Microsoft® C++ compiler.
Use the Block Parameters dialog box to select your data stimulation parameters.
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.
Select an event from the available list of events. The XCP Configuration block uses the specified A2L file to populate the events list.
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.
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.
This list displays selected measurements. To remove a measurement from this list, select the measurement and click the remove button, .
Use the toggle buttons to reorder the selected measurements.