National-instruments CAN 372139B-01 User Manual Page 61

  • Download
  • Add to my manuals
  • Print
  • Page
    / 301
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 60
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
© National Instruments Corporation 5-35 Automotive Diagnostic Command Set User Manual
ControlDTCSetting.vi
Purpose
Executes the ControlDTCSetting service and modifies the generation behavior of selected
Diagnostic Trouble Codes (DTCs).
Format
Input
DTC descriptor is a cluster that describes the DTC records the ECU
delivers:
DTC Byte Length indicates the number of bytes the ECU sends
for each DTC. The default is 2.
Status Byte Length indicates the number of bytes the ECU sends
for each DTC’s status. The default is 1.
Add Data Byte Length indicates the number of bytes the ECU
sends for each DTCs additional data. Usually, there is no
additional data, so the default is 0.
Byte Order indicates the byte ordering for multibyte items:
0: MSB_FIRST (Motorola) (default)
1: LSB_FIRST (Intel)
The DTC descriptor is given here as a parameter basically to convert the
group of DTC parameter to a binary representation according to DTC
Byte Length and Byte Order.
diag ref in specifies the diagnostic session handle, obtained from Open
Diagnostic.vi and wired through subsequent diagnostic VIs. Normally, it is
not necessary to manually manipulate the elements of this cluster.
data in specifies application-specific data that control DTC generation.
Page view 60
1 2 ... 56 57 58 59 60 61 62 63 64 65 66 ... 300 301

Comments to this Manuals

No comments