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

OnMostSystemLock

CAPL Functions » MOST » OnMostSystemLock

Function Syntax

OnMostSystemLock(long oldstate, long newstate);

Description

This event procedure is called each time the state of the System-Lock 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 System Lock Flag.
  • newstate: New state of the System Lock Flag.

Return Values

  • 1: System Lock Flag set.
  • 0: System Lock Flag not set.

Example

mostSetSystemLockFlagUsage