Open topic with navigationDocumentation Index
Fetch the complete documentation index at: https://notevil.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
CAPL Functions » MOST » mostSetShutdownReason
Function Syntax
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
- \< 0: See error codes