MC CCP Set Session Status.vi
- Updated2025-09-25
- 4 minute(s) read
Purpose
Updates the ECU with the current state of the calibration session (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. | ||||||
|
Session status is the new status to be set in the ECU. | ||||||
|
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
This VI implements the CCP SET_S_STATUS command and is used to keep the ECU informed about the current state of the calibration session. The session status bits of an ECU can be read and written. Possible conditions are: reset on power-up, session log-off, and in applicable error conditions. The calibration session status is organized as a bit mask with the following assignment.
Bit Mask Assignment for Calibration Session Status
| Bit | Name | Description |
|---|---|---|
| 0 | CAL | Calibration data initialized. |
| 1 | DAQ | DAQ list(s) initialized. |
| 2 | RESUME | Request to save DAQ set-up during shutdown in CCP slave. CCP slave automatically restarts DAQ after start-up. |
| 3 | Reserved | N/A |
| 4 | Reserved | N/A |
| 5 | Reserved | N/A |
| 6 | STORE | Request to save calibration data during shut-down in CCP slave. |
| 7 | RUN | Session in progress. |





