Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Operations Management Interface

Run-Time Behavior

  • Last UpdatedJul 05, 2023
  • 2 minute read

Run-time behavior pertains to the running state of a deployed ViewEngine object. The most important function of the running ViewEngine is its scheduler. The ViewEngine has a scan-based scheduler that triggers at the configured scan period, specified in milliseconds. Each scan period interval, the ViewEngine executes every object on the engine, including itself.

Since the ViewEngine object will generally host only a few ViewApp objects, you may want to reduce the ScanPeriod to minimize the latency of tag and/or attribute value updates for the hosted ViewApps.

Once deployed and operating, the ViewEngine object can assume one of the following states:

State Change

Behavior

Startup

In this transition state, the ViewEngine object starts as a new operating system process and starts all of the objects that it hosts. Objects hosted by the ViewEngine object are:

  • Initialized from checkpoint data, which is the configuration, state, and all associated data necessary to support restarting an object in its most recent condition. This data is periodically stored to the computer hard drive when the ViewEngine is running.

  • Started by the engine.

  • Registered with message exchange (the object-to-object messaging system) upon successful startup.

  • Executed by the scheduler.

Going onscan

The ViewEngine object notifies all of the ViewApp objects that it hosts that the engine has been put OnScan.

Going offscan

The ViewEngine object notifies all of the ViewApp objects that it hosts that the engine is offscan (inoperative).

Shutdown

The ViewEngine object shuts down as an operating system process. Before doing so, one final checkpoint is performed after all ViewApp objects hosted by the ViewEngine object are:

  • Unregistered with Message Exchange (the object-to-object messaging system).

  • Stopped.

TitleResults for “How to create a CRG?”Also Available in