List of Functions

Automotive Diagnostic Command Set Toolkit Help

Edition Date: November 2018

Part Number: 372140J-01

»View Product Info
Download Help (Windows Only)

The following table contains an alphabetical list of the Automotive Diagnostic Command Set API functions.

Functions for the Automotive Diagnostic Command Set for C

FunctionPurpose
ndClearDiagnosticInformationExecutes the ClearDiagnostic Information service. Clears selected Diagnostic Trouble Codes (DTCs).
ndCloseDiagnosticCloses a diagnostic session.
ndControlDTCSettingExecutes the ControlDTCSetting service. Modifies the generation behavior of selected Diagnostic Trouble Codes (DTCs).
ndConvertFromPhysConverts a physical data value into a binary representation using a type descriptor.
ndConvertToPhysConverts a binary representation of a value into its physical value using a type descriptor.
ndCreateExtendedCANIdsCreates diagnostic CAN identifiers according to ISO 15765-2.
ndDiagFrameRecv Receives a raw CAN frame on the diagnostic CAN ID to check for errors in the transport protocol implementation of an ECU.
ndDiagFrameSend Sends a raw CAN frame on the diagnostic CAN ID to check for errors in the transport protocol implementation of an ECU.
ndDiagGetPropertyGets a diagnostic global internal parameter.
ndDiagnosticServiceExecutes a generic diagnostic service. If a special service is not available through the KWP2000, UDS, or OBD service functions, you can build it using this function.
ndDiagSetPropertySet a diagnostic global internal parameter.
ndDisableNormalMessageTransmissionExecutes the DisableNormalMessage Transmission service. The ECU no longer transmits its regular communication messages (usually CAN messages).
ndDoIPActivateRouting Defines the source and target address for a DoIP TCP/IP connection.
ndDoIPConnect Creates a TCP/IP connection to a DoIP entity identified by its IP address.
ndDoIPDisconnect Disconnects the TCP/IP connection to a DoIP entity.
ndDoIPEntityStatus Gets status information from a DoIP entity.
ndDoIPGetDiagPowerMode Gets information on the DoIP entity power state.
ndDoIPGetEntities Returns a table of all DoIP entities (vehicles) on the local subnet, possibly restricted to EID or VIN.
ndDoIPGetEntitiesEx Returns a table of all DoIP entities (vehicles) on a specific subnet, possibly restricted to EID or VIN.
ndDoIPSendVehicleIdentReqEID Sends a UDP request to all DoIP-capable vehicles with a certain EID (MAC address) in the local subnet to identify themselves.
ndDoIPSendVehicleIdentReqEIDEx Sends a UDP request to all DoIP-capable vehicles with a certain EID (MAC address) on the specified broadcast address to identify themselves.
ndDoIPSendVehicleIdentRequest Sends a UDP request to all DoIP-capable vehicles in the local subnet to identify themselves.
ndDoIPSendVehicleIdentRequestExSends a UDP request to all DoIP-capable vehicles on the specified broadcast address to identify themselves.
ndDoIPSendVehicleIdentReqVIN Sends a UDP request to all DoIP-capable vehicles with a certain VIN (Vehicle Identification Number) in the local subnet to identify themselves.
ndDoIPSendVehicleIdentReqVINExSends a UDP request to all DoIP-capable vehicles with a certain VIN (Vehicle Identification Number) on the specified broadcast address to identify themselves.
ndDTCToStringReturns a string representation (such as P1234) for a 2-byte diagnostic trouble code (DTC).
ndECUResetExecutes the ECUReset service. Resets the ECU.
ndEnableNormalMessageTransmissionExecutes the EnableNormalMessage Transmission service. The ECU starts transmitting its regular communication messages (usually CAN messages).
ndGetTimeStampGets timestamp information about the first/last send/received frame of the ISO TP for CAN and LIN.
ndInputOutputControlByLocalIdentifierExecutes the InputOutputControlByLocalIdentifier service. Modifies the ECU I/O port behavior.
ndOBDClearEmissionRelatedDiagnosticInformationExecutes the OBD Clear Emission Related Diagnostic Information service. Clears emission-related diagnostic trouble codes (DTCs) in the ECU.
ndOBDOpenOnCANFDOpens a diagnostic session on a CAN port for OBD-II.
ndOBDRequestControlOfOnBoardDeviceExecutes the OBD Request Control Of On-Board Device service. Modifies ECU I/O port behavior.
ndOBDRequestCurrentPowertrainDiagnosticDataExecutes the OBD Request Current Powertrain Diagnostic Data service. Reads an ECU data record.
ndOBDRequestEmissionRelatedDTCsExecutes the OBD Request Emission Related DTCs service. Reads all emission-related Diagnostic Trouble Codes (DTCs).
ndOBDRequestEmissionRelatedDTCsDuringCurrentDriveCycleExecutes 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.
ndOBDRequestOnBoardMonitoringTestResultsExecutes the OBD Request On-Board Monitoring Test Results service. Reads an ECU test data record.
ndOBDRequestPermanentFaultCodesExecutes the OBD Request Permanent Fault Codes service. All permanent Diagnostic Trouble Codes (DTCs) are read.
ndOBDRequestPowertrainFreezeFrameDataExecutes the OBD Request Powertrain Freeze Frame Data service. Reads an ECU data record stored while a diagnostic trouble code occurred.
ndOBDRequestVehicleInformationExecutes the OBD Request Vehicle Information service. Reads a set of information data from the ECU.
ndOpenDiagnosticOnCANFDOpens a diagnostic session on a CAN port. Communication to the ECU is not yet started.
ndOpenDiagnosticOnIPVersion Opens a diagnostic session on an IP port. Communication to the ECU is not yet started.
ndOpenDiagnosticOnLIN Opens a diagnostic session on a NI-XNET LIN port. Communication to the ECU is not yet started.
ndReadDataByLocalIdentifierExecutes the ReadDataByLocalIdentifier service. Reads an ECU data record.
ndReadDTCByStatusExecutes the ReadDiagnosticTrouble CodesByStatus service. Reads selected Diagnostic Trouble Codes (DTCs).
ndReadECUIdentificationExecutes the ReadECUIdentification service. Returns ECU identification data from the ECU.
ndReadMemoryByAddressExecutes the ReadMemoryByAddress service. Reads data from the ECU memory.
ndReadStatusOfDTCExecutes the ReadStatusOfDiagnosticTroubleCodes service. Reads selected Diagnostic Trouble Codes (DTCs).
ndRequestRoutineResultsByLocalIdentifierExecutes the RequestRoutineResultsByLocalIdentifier service. Returns results from an ECU routine.
ndRequestSeedExecutes the SecurityAccess service to retrieve a seed from the ECU.
ndSendKeyExecutes the SecurityAccess service to send a key to the ECU.
ndStartDiagnosticSessionExecutes the StartDiagnosticSession service. The ECU is set up in a specific diagnostic mode.
ndStartPeriodicTesterPresentStarts a background thread for the current diagnostic session that periodically transmits a TesterPresent message.
ndStartRoutineByLocalIdentifierExecutes the StartRoutineByLocalIdentifier service. Executes a routine on the ECU.
ndStatusToStringReturns a description for an error code.
ndStopDiagnosticSessionExecutes the StopDiagnosticSession service. Returns the ECU to normal mode.
ndStopPeriodicTesterPresentTerminates automatic transmission of a periodic TesterPresent message.
ndStopRoutineByLocalIdentifierExecutes the StopRoutineByLocalIdentifier service. Stops a routine on the ECU.
ndTesterPresentExecutes the TesterPresent service. Keeps the ECU in diagnostic mode.
ndUDS06ReadMemoryByAddress Executes the UDS ReadMemoryByAddress service. Reads data from the ECU memory.
ndUDS06WriteMemoryByAddress Executes the UDS WriteMemoryByAddress service. Writes data to the ECU memory.
ndUDSClearDiagnosticInformationExecutes the UDS ClearDiagnosticInformation service. Clears selected Diagnostic Trouble Codes (DTCs).
ndUDSCommunicationControlExecutes the UDS CommunicationControl service. Switches transmission and/or reception of the normal communication messages (usually CAN messages) on or off.
ndUDSControlDTCSettingExecutes the UDS ControlDTCSetting service. Modifies Diagnostic Trouble Code (DTC) behavior.
ndUDSDiagnosticSessionControlExecutes the UDS DiagnosticSessionControl service. The ECU is set up in a specific diagnostic mode.
ndUDSECUResetExecutes the UDS ECUReset service. Resets the ECU.
ndUDSInputOutputControlByIdentifierExecutes the UDS InputOutputControlByIdentifier service. Modifies ECU I/O port behavior.
ndUDSReadDataByIdentifierExecutes the UDS ReadDataByIdentifier service. Reads an ECU data record.
ndUDSReadMemoryByAddressExecutes the UDS ReadMemoryByAddress service. Reads data from the ECU memory.
ndUDSReportDTCBySeverityMaskRecordExecutes the ReportDTCBySeverityMaskRecord subfunction of the UDS ReadDiagnosticTroubleCodeInformation service. Reads selected Diagnostic Trouble Codes (DTCs).
ndUDSReportDTCByStatusMaskExecutes the ReportDTCByStatusMask subfunction of the UDS ReadDiagnosticTroubleCodeInformation service. Reads selected Diagnostic Trouble Codes (DTCs).
ndUDSReportSeverityInformationOfDTCExecutes the ReportSeverityInformationOfDTC subfunction of the UDS ReadDiagnosticTroubleCodeInformation service. Reads selected Diagnostic Trouble Codes (DTCs) are read.
ndUDSReportSupportedDTCsExecutes the ReportSupportedDTCs subfunction of the UDS ReadDiagnosticTrouble CodeInformation service. Reads all supported Diagnostic Trouble Codes (DTCs).
ndUDSRequestDownloadInitiates a download of data to the ECU.
ndUDSRequestSeedExecutes the UDS SecurityAccess service to retrieve a seed from the ECU.
ndUDSRequestTransferExitTerminates a download/upload process.
ndUDSRequestUploadInitiates an upload of data from the ECU.
ndUDSRoutineControlExecutes the UDS RoutineControl service. Executes a routine on the ECU.
ndUDSSendKeyExecutes the UDS SecurityAccess service to send a key to the ECU.
ndUDSTesterPresentExecutes the UDS TesterPresent service. Keeps the ECU in diagnostic mode.
ndUDSTransferDataTransfers data to/from the ECU in a download/upload process.
ndUDSWriteDataByIdentifierExecutes the UDS WriteDataByIdentifier service. Writes a data record to the ECU.
ndUDSWriteMemoryByAddressExecutes the UDS WriteMemoryByAddress service. Writes data to the ECU memory.
ndVWTPConnectEstablishes a connection channel to an ECU using the VW TP 2.0.
ndVWTPConnectionTestMaintains a connection channel to an ECU using the VW TP 2.0.
ndVWTPDisconnectTerminates a connection channel to an ECU using the VW TP 2.0.
ndWriteDataByLocalIdentifierExecutes the WriteDataByLocal Identifier service. Writes a data record to the ECU.
ndWriteMemoryByAddressExecutes the WriteMemoryByAddress service. Writes data to the ECU memory.
ndWWHOBDClearEmissionRelatedDTCsExecutes the WWH-OBD ClearDiagnosticInformation service. Clears selected Diagnostic Trouble Codes (DTCs).
ndWWHOBDConvertDTCsToJ1939Converts DTCs to the J1939 DTC format.
ndWWHOBDConvertDTCsToJ2012Converts DTCs to the J2012 DTC format.
ndWWHOBDRequestDIDExecutes the WWH-OBD ReadDataByIdentifier service. Reads a data record from the ECU.
ndWWHOBDRequestDTCExtendedDataRecordExecutes the WWH-OBD ReadDTCInformation service. Reads selected Diagnostic Trouble Codes (DTCs).
ndWWHOBDRequestEmissionRelatedDTCsExecutes the WWH-OBD ReadDTCInformation service. Reads selected Diagnostic Trouble Codes (DTCs).
ndWWHOBDRequestFreezeFrameInformationExecutes the WWH-OBD ReadDTCInformation service. Reads selected Diagnostic Trouble Codes (DTCs).
ndWWHOBDRequestRIDExecutes the WWH-OBD RoutineControl service. Reads a data record from the ECU.
ndWWHOBDRequestSupportedDIDsExecutes the WWH-OBD ReadDataByIdentifier service to retrieve the valid DID values for this service.
ndWWHOBDRequestSupportedRIDsExecutes the WWH-OBD RoutineControl service to retrieve the valid RID values for this service.

WAS THIS ARTICLE HELPFUL?

Not Helpful