Main Content

getXCPPage

Get current page number used by XCP on real-time application

Description

example

getXCPPage(target_object) returns the current page number used by the Universal Measurement and Calibration Protocol (XCP) on a real-time application that is loaded on the target computer. This function returns the logical number for the calibration data page that is currently activated for XCP.

Examples

collapse all

Get the calibration page for XCP.

slbuild('slrt_ex_osc');
load(tg,'slrt_ex_osc');
getXCPPage(tg)
ans =

  uint8

   0

Input Arguments

collapse all

Provides access to methods that manipulate the target computer properties.

Example: tg

Introduced in R2021b