Create extended can ids.vi, Create extended can ids.vi -14 – National Instruments CAN 372139B-01 User Manual

Page 40

Advertising
background image

Chapter 5

Automotive Diagnostic Command Set API for LabVIEW

Automotive Diagnostic Command Set User Manual

5-14

ni.com

Create Extended CAN IDs.vi

Purpose

Creates diagnostic CAN IDs according to ISO 15765-2.

Format

Input

addressing mode specifies whether the ECU is physically or functionally
addressed.

transport protocol specifies whether normal or mixed mode addressing is
used.

source address is the logical address of the host (diagnostic tester).

target address is the ECU logical address.

Output

transmit ID is the generated CAN identifier for sending diagnostic request
messages from the host to the ECU.

receive ID is the generated CAN identifier for sending diagnostic response
messages from the ECU to the host.

Description

ISO 15765-2 specifies a method (extended/29 bit) of creating CAN identifiers for diagnostic
applications given the addressing mode (physical/functional), the transport protocol
(normal/mixed), and the 8-bit source and target addresses. This VI implements the
construction of these CAN identifiers. You can use them directly in

Open Diagnostic.vi

.

Advertising