National Instruments CAN User Manual page 214

Automotive diagnostic command set
Table of Contents

Advertisement

Chapter 6
Automotive Diagnostic Command Set API for C
AddData
contain valid information (refer to
len
On input,
number of valid elements in the
success
Indicates successful receipt of a positive response message for this diagnostic service.
Return Value
The return value indicates the function call status as a signed 32-bit integer. Zero means the
function executed successfully. A negative value specifies an error, which means the function
did not perform the expected behavior. A positive value specifies a warning, which means the
function performed as expected, but a condition arose that may require attention.
Use the
ndStatusToString
Description
This function reads diagnostic trouble codes by status from the ECU memory. If you set the
optional
groupOfDTC
with status information based on the functional group selected by
For further details about this service, refer to the ISO 14230-3 standard.
Automotive Diagnostic Command Set User Manual
6
testNotCompletedThisMonitoringCycle
7
warningIndicatorRequested
contains optional additional data for this DTC. Usually, this does not
must contain the
len
function to obtain a descriptive string for the return value.
parameter to the above specified codes, the ECU reports DTCs only
DTCDescriptor
array length in elements. On return, it contains the
DTCs
array.
DTCs
6-50
).
.
groupOfDTC
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents