National Instruments 372139B-01 Automobile User Manual


 
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
Automotive Diagnostic Command Set User Manual 5-40 ni.com
ECUReset.vi
Purpose
Executes the ECUReset service. Resets the ECU.
Format
Input
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.
mode indicates the reset mode:
Hex Description
01 PowerOn
This value identifies the PowerOn ResetMode, a simulated
PowerOn reset that most ECUs perform after the ignition
OFF/ON cycle. When the ECU performs the reset, the client
(tester) re-establishes communication.
02 PowerOnWhileMaintainingCommunication
This value identifies the PowerOn ResetMode, a simulated
PowerOn reset that most ECUs perform after the ignition
OFF/ON cycle. When the ECU performs the reset, the server
(ECU) maintains communication with the client (tester).
03–7F Reserved
80–FF ManufacturerSpecific
This range of values is reserved for vehicle manufacturer-specific
use.
error in is a cluster that describes error conditions occurring before the VI
executes. If an error has already occurred, the VI returns the value of the
error in cluster to error out.