National Instruments 372139B-01 Automobile User Manual


 
Chapter 5 Automotive Diagnostic Command Set API for LabVIEW
Automotive Diagnostic Command Set User Manual 5-44 ni.com
InputOutputControlByLocalIdentifier.vi
Purpose
Executes the InputOutputControlByLocalIdentifier service. Modifies ECU I/O port behavior.
Format
Input
data in defines application-specific data for this service.
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.
local ID defines the local identifier of the I/O to be manipulated. The values
are application specific.
mode defines the type of I/O control. The values are application specific.
The usual values are:
0: ReturnControlToECU
1: ReportCurrentState
4: ResetToDefault
5: FreezeCurrentState
7: ShortTermAdjustment
8: LongTermAdjustment
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.