ReadStatusOfDTC.vi
- Updated2025-10-07
- 5 minute(s) read
Purpose
Executes the ReadStatusOfDiagnosticTroubleCodes service. Reads selected Diagnostic Trouble Codes (DTCs). Format
Input
|
DTC descriptor is a cluster that describes the DTC records the ECU delivers:
|
||||||||||||
|
diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi or Open Diagnostic on IP.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster. | ||||||||||||
|
group of DTC specifies the group of Diagnostic Trouble Codes to be cleared. The following values have a special meaning, and you can specify them through a ring control:
|
||||||||||||
|
error in is a cluster that 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
|
diag ref out is a copy of diag ref in. You can wire it to subsequent diagnostic VIs. | ||||||||||||||||||||||||
|
DTCs returns the resulting DTCs as an array of clusters:
|
||||||||||||||||||||||||
|
success? indicates successful receipt of a positive response message for this diagnostic service. | ||||||||||||||||||||||||
|
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
This VI reads diagnostic trouble codes from the ECU memory. If you use the optional group of DTC parameter, the ECU reports DTCs based only on the functional group selected by group of DTC.
For further details about this service, refer to the ISO 14230-3 standard.






