Data Acquisition with CCP/XCP
Last updated
Last updated
Copyright © 2024 | All Rights Reserved
Vehicle Spy MEP supports two methods for collecting data from an ECU using CCP/XCP. Each method has strengths and weaknesses when compared to each other as shown in Table 1.
Table 1: Comparison of DAQ Methods Using CCP/XCP
Category | Standard DAQ Method | Event Based DAQ Method |
---|---|---|
To perform standard data acquisition over CCP/XCP:\
On MEP/Setup view:
Verify the DAQ Delays on the Properties tab.
Add desired A2L file items to the "Selected Channels For Test" area.
Double click or use the right mouse menu on A2L items to assign High/Normal/Low priority.
Take Vehicle Spy online with the ECU in "Run with MEP" mode.
View or store results in many places such as the Value Editor, VehicleScape DAQ - Online tab, Signal Plot, Signal List, or Graphical Panels.
As shown in Figure 1, the DAQ Delays in MEP determine the update rates of A2L items in VehicleScape DAQ depending on their chosen priorities. Lower delay times will make measurements appear closer to "real time", but also take up more network bandwidth and ECU resources.
To perform event based data acquisition over CCP/XCP:
On MEP/Setup view:
Verify the CCP Event Setup on the Properties tab.
On VehicleScape DAQ - Channels tab:
Add desired A2L file items to the "Selected Channels For Test" area.
Double click or use the right mouse menu on A2L items to assign them to CCP Events.
Take Vehicle Spy online with the ECU in "Run with MEP" mode.
View or store results in many places such as the Value Editor, VehicleScape DAQ - Online tab, Signal Plot, Signal List, or Graphical Panels.
As shown in Figure 2, the ECU software determines the update rate of A2L items in VehicleScape DAQ depending on which event the items are assigned to. Events can help synchronize measurements and reduce resources allocated to DAQ'ing. One event request can trigger multiple measurements instead of using separate DAQ requests for each measurement.
The MEP Setup - DAQ Tables tab can help show how the A2L items are assigned to the ECU event tables.
Measurement Rate
User controls how often a measurement is reported.
ECU software determines rate based upon a user assigned event.
Resource Usage
Each request triggers only one measurement. This can put more strain on the network and ECU if many measurements are needed.
Only one request is needed to trigger multiple measurements. This can reduce the strain on the network and ECU if many measurements are needed.
Synchronization
Time synchronization is unlikely for a group of measurements.
Time synchronization occurs for a group of measurements assigned to the same event.