MC ECU Disconnect.vi
- Updated2023-02-21
- 3 minute(s) read
MC ECU Disconnect.vi
Purpose
Disconnects the XCP or CCP communication to the selected ECU.
Format
Input
![]() |
ECU ref in is the task reference which links to the selected ECU. This reference is originally returned from MC ECU Open.vi or MC ECU Select.vi, and then wired through subsequent VIs. | ||||||
![]() |
Error in is a cluster which 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.
|
Output
![]() |
ECU ref out is the same as ECU ref in. Wire the task reference to subsequent VIs for this task. | ||||||
![]() |
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.
|
Description
MC ECU Disconnect.vi implements the XCP or CCP command DISCONNECT. MC ECU Disconnect.vi permanently disconnects the specified XCP or CCP slave from the communication and ends the calibration session. When the calibration session is terminated, all DAQ lists of the device are stopped and cleared, and the protection masks of the device are set to their default values.
MC ECU Disconnect.vi is an optional function and is automatically performed prior to any MC ECU Deselect.vi or MC ECU Close.vi call.