Purpose

Retrieves the current calibration status of the ECU (CCP only).

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.
status is TRUE if an error occurred. This VI is not executed when status is TRUE.
code is the error code number identifying an error. A value of 0 means success. A negative value means error: VI did not execute the intended operation. A positive value means warning: VI executed intended operation, but an informational warning is returned. For a description of the code, wire the error cluster to a LabVIEW error-handling VI, such as the Simple Error Handler.
source identifies the VI where the error occurred.

Output

status qualifier describes an additional status qualifier. The additional status qualifier is manufacturer and/or project specific and is not part of the CCP protocol specification.
ECU ref out is the same as ECU ref in. Wire the task reference to subsequent VIs for this task.
session status is the actual session status which is returned from the ECU.
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.
status is TRUE if an error occurred.
code is the error code number identifying an error. A value of 0 means success. A negative value means error: VI did not execute the intended operation. A positive value means warning: VI executed intended operation, but an informational warning is returned. For a description of the code, wire the error cluster to a LabVIEW error-handling VI, such as the Simple Error Handler.
source identifies the VI where the error occurred.
additional status describes an additional status qualifier. If the status qualifier does not contain additional status information, the additional status parameter must be set to FALSE. If the additional status parameter is not FALSE, it may be used to determine the type of the additional status information.

Description

MC CCP Get Session Status.vi retrieves the session status of the ECU. The return value session status is a bit mask that represents several session states inside the ECU. status qualifier specifies the additional status information. additional status contains the additional status information. The content of these parameters is project specific and not defined by CCP. For more information about these parameters, refer to the documentation for the ECU.

MC CCP Get Session Status.vi implements the CCP command GET_S_STATUS defined by the CCP specification.