MC XCP Set Request.vi
- Updated2025-09-25
- 4 minute(s) read
Purpose
Performs a request to save session and device information to non-volatile memory.
Format

Input
|
Mode is a bit mask described below: |
| Bit | Description |
|---|---|
| 0 | Request to store calibration data in non-volatile memory. |
| 1 | Unused. |
| 2 | Request to save all DAQ lists, which have been selected with START_STOP_DAQ_LIST(Select) into non-volatile memory.
The slave also must store the session configuration ID in non-volatile memory. Upon saving, the slave first must clear any DAQ list configuration that might already be stored in non-volatile memory. |
| 3 | Request to clear all DAQ lists in non-volatile memory. All ODT entries reset to address = 0, extension = 0, size = 0 and bit_offset = FF. Session configuration ID reset to 0. |
| 4 | Unused. |
| 5 | Unused. |
| 6 | Unused. |
| 7 | Unused. |
|
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 ID is a session configuration ID that is stored in non-volatile memory together with the information requested by the Mode parameter. | ||||||
|
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 XCP Set Request.vi implements the XCP command SET_REQUEST and is used to save session configuration information into non-volatile memory in the ECU.
Refer to the ASAM XCP Part 2 Protocol Layer Specification for more information on how to set up a request.





