Skip to main content

linResetNAD

CAPL Functions » LIN » linResetNAD Valid for: CANoe DE • CANoe4SW DE

Function Syntax

Description

This function resets NAD (Node Address for Diagnostic) of the Slave node determined by the CAPL program context to its initial NAD. See Option .LIN: Notes to the way initial NAD is determined to understand how initial NAD is determined in CANoe. Note: If the CAPL program calling this function does not model a LIN 2.x Slave node, then this function will have no effect.

Parameters

Return Values

On success, this function returns a value unequal to -1, otherwise -1.

Example

CAPL program modeling Slave node