National Instruments 372139B-01 Automobile User Manual


 
Chapter 6 Automotive Diagnostic Command Set API for C
© National Instruments Corporation 6-5 Automotive Diagnostic Command Set User Manual
ndOBDOpen
Opens a diagnostic
session on a CAN port for
OBD-II.
ndOBDRequestControlOfOnBoardDevice Executes the OBD
Request Control Of
On-Board Device service.
Modifies ECU I/O port
behavior.
ndOBDRequestCurrentPowertrainDiagnosticData Executes the OBD
Request Current
Powertrain Diagnostic
Data service. Reads an
ECU data record.
ndOBDRequestEmissionRelatedDTCs Executes the OBD
Request Emission Related
DTCs service. Reads all
emission-related
Diagnostic Trouble Codes
(DTCs).
ndOBDRequestEmissionRelatedDTCsDuringCurrent
DriveCycle
Executes the OBD
Request Emission Related
DTCs During Current
Drive Cycle service.
Reads the
emission-related
Diagnostic Trouble Codes
(DTCs) that occurred
during the current (or last
completed) drive cycle.
ndOBDRequestOnBoardMonitoringTestResults Executes the OBD
Request On-Board
Monitoring Test Results
service. Reads an ECU
test data record.
Table 6-2. Functions for the Automotive Diagnostic Command Set for C (Continued)
Function Purpose