Skip to main contentOpen topic with navigation
CAPL Functions » MOST » mostGetNceType
mostGetNceType
Valid for: CANoe DE
Function Syntax
Description
Returns the type of network change event (NCE) (when changing the MPR register).
Note: This function can only be called within the OnMostMPR() event procedure.
Parameters
—
Return Values
- < 0: NCE-. The absolute value corresponds to the number of devices which closed their bypass.
- 0: No information available (e.g. first MPR register event, the function was not called in the OnMostMPR() event procedure).
- > 0: NCE+. The value corresponds to the number of devices which opened their bypass.
Example
—