MC CCP Diag Service.vi
- Updated2025-09-25
- 4 minute(s) read
Purpose
Calls a diagnostic service on the ECU (CCP only).
Format

Input
|
ECU ref in is the task reference which links to the selected ECU. This reference is originally returned from MC ECU Open.vi or MC ECU Select.vi, and then wired through subsequent VIs. | ||||||
|
Service no determines the diagnostic service that is executed inside the ECU. For more information about the services that are implemented in the ECU, refer to the documentation for the ECU. | ||||||
|
Params passes an array to the ECU that might be needed by the ECU to run the service. Since this VI has no knowledge about how the data is interpreted by the ECU, you are responsible for providing the data in the correct byte ordering. | ||||||
|
Error in is a cluster which describes error conditions occurring before the VI executes. If an error has already occurred, the VI returns the value of the error in cluster to error out.
|
Output
|
ECU ref out is the same as ECU ref in. Wire the task reference to subsequent VIs for this task. | ||||||
|
Data Type returns a Data Type Qualifier which provides information about the data type of the result of the diagnostic service. | ||||||
|
Result contains the information returned from the diagnostic service, uploaded from the ECU by the CCP master. | ||||||
|
Error out describes error conditions. If the Error in cluster indicated an error, the Error out cluster contains the same information. Otherwise, Error out describes the error status of this VI.
|
Description
MC CCP Diag Service.vi implements the CCP command DIAG_SERVICE, which starts a diagnostic service on the ECU and waits until it is finished. The selected Service no specifies the diagnostic service that is executed inside the ECU. For more information about the available services that are implemented in the ECU, refer to the documentation for the ECU.





