Transmit queued XCP Messages
The XCP CAN Transport Layer Transmit block connects to a CAN Transmit block to transmit queued XCP messages.
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 XCP CAN Transport Layer Transmit block parameters.
Enter the maximum number of messages the block can transmit. Value must be a positive integer.
Specify the sampling time of the block during simulation, which is the simulation time as described by the Simulink documentation. This value defines the frequency at which the XCP CAN Transport Layer block runs during simulation. If the block is inside a triggered subsystem or to inherit sample time, you can specify –1 as your sample time. You can also specify a MATLAB® variable for sample time. The default value is 0.01 (in seconds).