Skip to main content
Open topic with navigation CAPL Functions » MOST » mostGetShutdownReason

mostGetShutdownReason

Valid for: CANoe DE

Function Syntax

long mostGetShutdownReason(long channel);

Description

Retrieves the last shutdown reason value.

Parameters

  • channel: Channel of the connected interface.

Return Values

  • <0: See error codes
  • 0: No result available
  • 1: No fault saved
  • 2: Failure ‘Sudden Signal Off’
  • 3: Failure ‘Critical Unlock’

Example

OnMostShutdownReasonmostSetShutdownReason