AppIsStarting

(VTScada Layer module. Obtain LayerRoot using the following script-only statement: )

    LayerRoot = \System.GetLoadedAppInstance(GetGUID(0, \LocalGUID));
Description: Returns TRUE if the application is in the process of starting.
Returns: Boolean
Usage: Script or Steady State
Function Groups: Configuration Management
Related to: AppIsStarted | Start | AppIsRunning | GetAppInstance | GetLoadedAppInstance | GetOEMLayer
Format: LayerRoot.AppIsStarting
Parameters: none
Comments: Checks whether a call to Start() is being processed in the application specified by LayerRoot.

The Layer object can be acquired using GetAppInstance, GetLoadedAppInstance or GetOEMLayer.

Examples:

  If LayerRoot.AppIsStarting() NextState;
[

...

]