MC XCP Get Cal Page.vi
- Updated2025-09-25
- 3 minute(s) read
Purpose
Queries a calibration page setting.
Format

Input
|
Mode specifies the access mode:
Mode = 1 The given page is used by the slave device application. Mode = 2 The slave device XCP driver will access the given page. |
||||||
|
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. | ||||||
|
Segment specifies the selected logical data segment number. | ||||||
|
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. | ||||||
|
Page returns the logical data page number. | ||||||
|
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 Get Cal Page.vi implements the XCP command GET_CAL_PAGE and queries the logical number for the calibration data page that is currently activated for the specified access mode and data segment.
Refer to the ASAM XCP Part 2 Protocol Layer Specification for more information on how to set up a request.





