OnMostStress
Valid for: CANoe DEFunction Syntax
OnMostStress(long mode, long state);
Description
The event procedureOnMostStress() will be called before the beginning and after the end of the stress generation.
Parameters
-
mode
- 1: Stress generation with mostGenerateLightError
- 2: Stress generation with mostGenerateLockError
- 3: Stress generation with mostGenerateBusloadCtrl
- 4: Stress generation with mostGenerateBusloadAsync
- 5: Stress generation with mostSetRxBufferCtrl
- 6: Stress generation with mostSetTxLightPower
- 7: mostGenerateBypassToggle
- 8: mostSetSystemLockFlagUsage
- 9: mostSetShutDownFlagUsage
- 10: mostGenerateBusloadEthPkt
- 11: mostSetRxBufferAsync
-
state
- 0: Stress mode is stopped
- Note:
- mode = 5: Rx buffer enabled
- mode = 6: normal light intensity
- Note:
- 1: Stress mode is started
- Note:
- mode = 5: Rx buffer disabled
- mode = 6: 3db attenuation
- Note:
- 0: Stress mode is stopped