National Instruments CAN 372139B-01 User Manual

Page 171

Advertising
background image

Chapter 6

Automotive Diagnostic Command Set API for C

© National Instruments Corporation

6-7

Automotive Diagnostic Command Set User Manual

ndReadStatusOfDTC

Executes the
ReadStatusOfDiagnostic
TroubleCodes service.
Reads selected Diagnostic
Trouble Codes (DTCs).

ndRequestRoutineResultsByLocalIdentifier

Executes the
RequestRoutineResultsBy
LocalIdentifier service.
Returns results from an
ECU routine.

ndRequestSeed

Executes the
SecurityAccess service
to retrieve a seed from
the ECU.

ndSendKey

Executes the
SecurityAccess service to
send a key to the ECU.

ndSetProperty

Set a diagnostic global
internal parameter.

ndStartDiagnosticSession

Executes the
StartDiagnosticSession
service. The ECU is set up
in a specific diagnostic
mode.

ndStartRoutineByLocalIdentifier

Executes the
StartRoutineByLocal
Identifier service.
Executes a routine on
the ECU.

ndStatusToString

Returns a description for
an error code.

ndStopDiagnosticSession

Executes the
StopDiagnosticSession
service. Returns the ECU
to normal mode.

Table 6-2. Functions for the Automotive Diagnostic Command Set for C (Continued)

Function

Purpose

Advertising