|Download Help (Windows Only)|
Executes the StopDiagnosticSession service. Returns the ECU to normal mode.
|diag ref in specifies the diagnostic session handle, obtained from Open Diagnostic on CAN FD.vi or Open Diagnostic on IP.vi and wired through subsequent diagnostic VIs. Normally, it is not necessary to manually manipulate the elements of this cluster.|
|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.
|diag ref out is a copy of diag ref in. You can wire it to subsequent diagnostic VIs.|
|success? indicates successful receipt of a positive response message for this diagnostic service.|
|error out describes error conditions. If the error in cluster indicated an error, the error out cluster contains the same information. Otherwise, error out describes the error status of this VI.
This VI disables the current ECU diagnostic mode. A diagnostic session stops only if communication is established with the ECU and a diagnostic session is running. If no diagnostic session is running, the default session is active. StopDiagnosticSession.vi cannot disable the default session. If the ECU has stopped the current diagnostic session, it performs the necessary action to restore its normal operating conditions. Restoring the normal operating conditions of the ECU may include resetting all controlled actuators if they were activated during the diagnostic session being stopped, and resuming all normal ECU algorithms. You should call StopDiagnosticSession.vi before disabling communication with Close Diagnostic.vi, but only if you previously used StartDiagnosticSession.vi.