1. Home
  2. /
  3. Wonderware-system-platform
  4. /
  5. Calculate Average Sensor Value

Calculate Average Sensor Value - Wonderware-system-platform Typing CST Test

Loading…

Calculate Average Sensor Value — Wonderware-system-platform Code

Compute the average of multiple sensor readings within a script.

	Sum := 0;
	FOR i := 0 TO SensorArray.Size-1 DO
		Sum := Sum + SensorArray[i];
	END_FOR;
	Average := Sum / SensorArray.Size;

Wonderware-system-platform Language Guide

Wonderware System Platform is an industrial automation software suite by AVEVA (formerly Invensys), providing a scalable, unified environment for HMI, SCADA, MES, and IIoT applications. It enables centralized configuration, real-time monitoring, and integration across diverse industrial assets.

Primary Use Cases

  • ▸Supervisory control and monitoring
  • ▸HMI and SCADA visualization
  • ▸Data historian and reporting
  • ▸MES and production monitoring
  • ▸IoT/IIoT integration with analytics and dashboards

Notable Features

  • ▸Object-oriented template-based application development
  • ▸Centralized management of HMI, alarms, and historian data
  • ▸Scalable architecture for single-site or multi-site deployments
  • ▸Integration with PLCs, databases, and enterprise systems
  • ▸Support for redundancy, failover, and high availability

Origin & Creator

Wonderware System Platform was developed by Wonderware (now part of AVEVA) in the early 1990s as an advanced HMI/SCADA framework for industrial automation and process management.

Industrial Note

System Platform provides high-level abstraction for industrial applications, allowing standardized object templates, centralized configuration, and scalable deployment across multiple sites and operations.

More Wonderware-system-platform Typing Exercises

Alarm Trigger NotificationStart/Stop Process Control

Practice Other Languages

CReactPythonC++RustTypeScriptKotlinPHPJavaC#RubyMqlCqlN1qlCypher