Skip to main content

Documentation Index

Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Open topic with navigation CAPL Functions » MOST » OnMostShutdownFlag

OnMostShutdownFlag

Valid for: CANoe DE

Function Syntax

OnMostShutdownFlag(long oldstate, long newstate);

Description

This event procedure is called each time the state of the Shutdown flag changes. Within this event procedure the functions mostEventChannel, mostEventTime and mostEventOrigTime can be used to call up supplemental information.

Parameters

  • oldstate: Old state of the Shutdown Flag.
  • newstate: New state of the Shutdown Flag.

Return Values

  • 1: Shutdown Flag set.
  • 0: Shutdown Flag not set.

Example

mostSetShutDownFlagUsage