AppIsStarted

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

    LayerRoot = \System.GetLoadedAppInstance(GetGUID(0, \LocalGUID));
Description: Returns TRUE if the application has been started.
Returns: Boolean
Usage: Script or Steady State
Function Groups: Configuration Management
Related to: AppIsRunning | AppIsStarting | Start | GetAppInstance | GetLoadedAppInstance | GetOEMLayer
Format: LayerRoot.AppIsStarted()
Parameters: none
Comments: "Started" is a different state than "Running". Use care when deciding whether to use this function or AppIsRunning.
Like Start, this is typically called on another Layer, rather than one’s own layer, which is presumably running.

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

Examples:

  If LayerRoot.AppIsStarted() NextState;
  [
    IfThen( ),
      ...
    )
  ]