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 » 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