Acquire selected measurements from configured slave connection
Simulink Real-Time / XCP / CAN
Vehicle Network Toolbox / XCP Communication / CAN
The XCP CAN Data Acquisition block acquires data from the configured slave connection based on measurements that you select. The block uses the XCP CAN transport layer to obtain raw data for the selected measurements at the specified simulation time step. Configure your XCP connection and use the XCP CAN Data Acquisition block to select your event and measurements for the configured slave connection. The block displays the selected measurements as output ports.
The XCP communication blocks support the use of Simulink® accelerator mode and rapid accelerator mode. You can speed up the execution of Simulink models by using these modes. For more information on these simulation modes, see Design Your Model for Effective Acceleration (Simulink).
The XCP communication blocks support code generation with limited deployment capabilities. Code generation requires a C++ compiler that is compatible with the code generation target. For more information, see Supported and Compatible Compilers.