National Instruments 372139B-01 Automobile User Manual


 
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
© National Instruments Corporation 5-95 Automotive Diagnostic Command Set User Manual
UDS ReportDTCBySeverityMaskRecord.vi
Purpose
Executes the ReportDTCBySeverityMaskRecord subfunction of the UDS
ReadDiagnosticTroubleCodeInformation service. Reads selected Diagnostic Trouble Codes
(DTCs).
Format
Input
DTC descriptor is a cluster that describes the DTC records the ECU
delivers:
DTC Byte Length indicates the number of bytes the ECU sends
for each DTC. The default is 3 for UDS.
Status Byte Length indicates the number of bytes the ECU sends
for each DTC’s status. The default is 1.
Add Data Byte Length indicates the number of bytes the ECU
sends for each DTC’s additional data. For this subfunction, the
default is 2.
Byte Order indicates the byte ordering for multibyte items:
0: MSB_FIRST (Motorola) (default)
1: LSB_FIRST (Intel)
This VI interprets the response byte stream according to this description
and returns the resulting DTC records in the DTCs cluster array.
diag ref in specifies the diagnostic session handle, obtained from Open
Diagnostic.vi and wired through subsequent diagnostic VIs. Normally, it is
not necessary to manually manipulate the elements of this cluster.