TestWaitForMostNPR
Valid for: CANoe DEFunction Syntax
Description
The function waits for the expiration of the time aTimeout for the occurrence of the MOST event of a change of the value in the Node Position Register (NPR). Note: Consider to set always the appropriate bus context in a multibus environment before the function is called. Further information on site MultiBus Environment.Parameters
- aValue: Expected value of the NPR that should be in the MOST event. The specification -1 (wildcard) stands for any values.
- aTimeout: Maximum time that should be waited [ms] (Transmission of 0: no timeout monitoring).
Return Values
- -2: Resume based on Constraint Violation
- -1: General error e.g. the functionality is not available
- 0: Resume based on Timeout
- 1: Resume based on occurred event