Skip to main content
Open topic with navigation

CAPL Functions » MOST » mostSetShutdownReason

Function Syntax

mostSetShutdownReason(long channel, long reason);

Description

Sets the shutdown reason value. This function is needed for resetting the shutdown reason value to 0x00 (No result available). Note: It is recommended to call this function from the OnMostShutdownReason event procedure.

Parameters

  • channel: Channel of the connected interface.
  • reason: The reason code for the last shutdown.
    • 0: No result available

Return Values

Example

OnMostShutdownReasonmostGetShutdownReason