MC ECU Set Calibration Page.vi
- Updated2025-09-25
- 4 minute(s) read
Purpose
Sets the appropriate RAM or ROM calibration page on the ECU.
Format

Input
|
ECU ref in is the task reference that links to the selected ECU. This reference is originally returned from MC ECU Open.vi or MC ECU Create.vi and then wired through subsequent VIs. | ||||||
|
use RAM? indicates which page should be set. Set this input to TRUE for the RAM page or FALSE for the ROM page. | ||||||
|
map Addresses? activates address mapping from the ROM page to the target page specified in use RAM?. | ||||||
|
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 Set Calibration Page.vi tries to identify a single RAM or ROM page on the ECU and select it according to the use RAM? input.
To identify an appropriate page, the VI searches the calibration page information from the A2L file or the online information from the ECU. If the VI can identify a unique calibration page, it is activated in the ECU, and the VI returns success.
If the VI cannot identify a unique page, an error is returned indicating this, and no further action is taken. This does not, however, state a fault, but just the algorithm's inability to uniquely identify the desired page. In this case, you can use the calibration page-related ECU properties (MC Get Property.vi, ECU»CCP»Cal Pages»... or ECU»XCP»Cal Pages»...) to gain the information about available calibration pages, and manually select the correct page using MC CCP Select Cal Page.vi or MC XCP Set Cal Page.vi.
The map Addresses? input activates the address mapping from the ROM page, assumed to be the reference page to the target page specified in use RAM?. Address mapping is supported only for the CCP protocol and requires a unique ROM and unique RAM page in the A2L file. Addresses of measurements and characteristics in the A2L file must point to the ROM page as a reference page.




