National Instruments 372139B-01 Automobile User Manual


 
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
© National Instruments Corporation 5-109 Automotive Diagnostic Command Set User Manual
UDS RoutineControl.vi
Purpose
Executes the UDS RoutineControl service. Executes a routine on the ECU.
Format
Input
mode defines the service operation mode. You can obtain the values from
a ring control:
1: Start Routine
2: Stop Routine
3: Request Routine Results
Other values are application specific.
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.
ID defines the identifier of the routine to be started. The values are
application specific.
data in defines application-specific input parameters for the routine.
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.
status is TRUE if an error occurred. This VI is not executed when
status is TRUE.