ECUMC — Example Execution
Use the project and VeriStand screen created in Project Setup. The example starts with XCP on CAN, followed by the XCP over TCP/UDP and CCP on CAN variants.
Start the Example ECU and Deploy
Launch the software ECU
Before deploying the VeriStand project, start the software ECU application. Search for “xcp” in the Windows Start menu and launch “NI ECUMC Demo ECU XCP”.

Configure the ECU CAN endpoint
By default, the demo ECU uses CAN2, assuming the XCP master is configured on CAN1. Connect CAN1 and CAN2 to the same physical CAN bus. In the documented two-node setup, enable “Termination” for the demo ECU as well as the master’s NI-XNET termination.
CAN requires termination at the two physical ends of the bus. The correct termination arrangement depends on the actual wiring; do not add extra termination if the bus is already terminated. Start the ECU.

Deploy VeriStand
Start the ECU first, then deploy the VeriStand project.

Verify the PWM measurement
The chart should display a rectangular (PWM) signal. Changing PWM_Frequency or PWM_Level should cause the software ECU to change the generated signal accordingly, and the chart should reflect that change.

The basic XCP master example is now complete.
XCP over TCP/UDP
Change the master transport
In System Explorer, change “Master Type” to “XCP on TCP” or “XCP on UDP”. The selected transport must match the protocol configured in the software ECU, and the communication settings must match the applicable A2L configuration.

Change the software ECU transport
Stop the software ECU and select the corresponding “Protocol” option (TCP/IP or UDP/IP). Restart the software ECU using the matching transport settings.

For this example, the database specifies communication over localhost between the XCP master and slave. Both applications communicate through the local network stack, so no physical Ethernet loopback cable is needed. The rest of the VeriStand project remains unchanged.
CCP over CAN
Start the CCP Demo ECU
For CCP communication, use the separate software ECU provided with the NI ECU Measurement and Calibration Toolkit. Open Windows Search and search for CCP.
Start the NI ECUMC Demo ECU CCP application.

Configure the CCP Demo ECU
Select NI-XNET and configure the CAN interface. In this example, the software ECU uses CAN2, while the VeriStand CCP Master uses CAN1.
Enable Termination for the demo ECU, assuming these interfaces are connected at opposite ends of the CAN bus. Leave the remaining settings at their default values.

Configure the CCP Master in VeriStand
Return to the XCP or CCP Master Custom Device in VeriStand System Explorer.
-
Change the Database to
CCPECU.a2l, located in the same directory as the XCP example database:C:\Program Files\NI\LVAddons\ecumc\1\examples\ECUMC\CCPECU.a2l - Change Master Type to CCP.
- Use the communication properties from the selected A2L database and verify that the master’s CAN interface matches the physical setup.

Run the CCP Example
Start the NI ECUMC Demo ECU CCP application before deploying the VeriStand project.
The remaining procedure follows the XCP on CAN example: configure the desired measurements and characteristics, deploy the project, and observe or modify ECU variables using the VeriStand screen.