National Instruments CAN 372139B-01 User Manual

Page 170

Advertising
background image

Chapter 6

Automotive Diagnostic Command Set API for C

Automotive Diagnostic Command Set User Manual

6-6

ni.com

ndOBDRequestPowertrainFreezeFrameData

Executes the OBD
Request Powertrain
Freeze Frame Data
service. Reads an ECU
data record stored while a
diagnostic trouble code
occurred.

ndOBDRequestVehicleInformation

Executes the OBD
Request Vehicle
Information service.
Reads a set of information
data from the ECU.

ndOpenDiagnostic

Opens a diagnostic
session on a CAN port.
Communication to the
ECU is not yet started.

ndReadDataByLocalIdentifier

Executes the
ReadDataByLocal
Identifier service. Reads
an ECU data record.

ndReadDTCByStatus

Executes the
ReadDiagnosticTrouble
CodesByStatus service.
Reads selected Diagnostic
Trouble Codes (DTCs).

ndReadECUIdentification

Executes the
ReadECUIdentification
service. Returns ECU
identification data from
the ECU.

ndReadMemoryByAddress

Executes the
ReadMemoryByAddress
service. Reads data from
the ECU memory.

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

Function

Purpose

Advertising