National Instruments CAN 372139B-01 User Manual

Page 44

Advertising
background image

Chapter 5

Automotive Diagnostic Command Set API for LabVIEW

Automotive Diagnostic Command Set User Manual

5-18

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 specifies 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 specifies the CAN frame content, filled with defined data or
random data.

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 specifies 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.

property value is the value of the property to be set.

Output

None.

Description

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

Diag Get Property.vi

to read them out.

Advertising