National Instruments CAN 372139B-01 User Manual

Page 42

Advertising
background image

Chapter 5

Automotive Diagnostic Command Set API for LabVIEW

Automotive Diagnostic Command Set User Manual

5-16

ni.com

6

Wait Frames to Send (N_WAIT) is the number of WAIT frames the
master sends every time before a CTS frame is sent. If this value is
set to a negative number (for example, 0xFFFFFFFF = –1), the
master sends an OVERLOAD frame instead of a WAIT, and
reception is aborted. The default is 0 for maximum speed.

7

Time between Waits (T_W) is the number of milliseconds the
master waits after sending a WAIT frame. The default is 25.

8

Fill CAN Frames returns whether a CAN frame is transmitted with
8 bytes or less.

0: Short CAN frames are sent with DLC < 8 (default).

1: Short CAN frames are filled to 8 bytes with Fill Byte (necessary
for OBD, for example).

9

Fill Byte returns the CAN frame content if filled with defined data or
random data bytes.

0–255: Byte is used optionally to fill short CAN frames.

256: Short CAN frames are filled optionally with random bytes.

10

Invalid Response as Error returns how the toolkit handles an
invalid ECU response.

0: Invalid response is indicated by success? = FALSE only (default).

1: Invalid response is returned as an error in addition.

Output

property value is the requested property value.

Description

Use this VI to request several internal diagnostic parameters, such as timeouts for the
transport protocol. Use

Diag Set Property.vi

to modify them.

Advertising