mostNwmFiSetParameter, mostNwmFiGetParameter
Valid for: CANoe DEFunction Syntax
Description
In order to modify timing parameters, the functionsmostNwmFiSetParameter and mostNwmFiGetParameter provide access to the timing parameters of CANoe’s NetworkMaster implementation.
Use the function with care since the state machine of the NetworkMaster is not guaranteed to work properly afterwards.
Refer to the MOST specification for a detailed description of the timing parameters and the NetworkMaster state machine.
The function is available for CAPL programs assigned to the NetworkMaster block in the Simulation Setup.
Parameters
-
paramID
-1: set default for all parameter values1: timer value tWaitBeforeScan (value range: 1…20000 ms)2: timer value tWaitAfterNCE (value range: 1…20000 ms)3: timer value tWaitForAnswer (value range: 1…20000 ms)4: timer value tDelayCfgRequest1 (value range: 1…200000 ms)5: timer value tDelayCfgRequest2 (value range: 1…200000 ms)
-
value
- New value to be set.
Return Values
-
mostNwmFiSetParameter
- See error codes
-
mostNwmFiGetParameter
>=0: value of the parameter identified by paramID