Appendix B Calculation using C# Calculation
Introduction
This section describes the basic usage of C# Calculations in History.
The intended audience is expected to have basic knowledge of Historian Software
and usage of Vtrin user interface. Also basic understanding of Microsoft C#
programming language and usage of Microsoft Visual Studio.
This section prepares you to create and execute simple calculations such as:
1.
2.
3.
4.
Development Environment
Before continuing, you should have the History installed and running on the
development machine.
After installing the product a folder named %APP_ROOT%\Calculations\ must be
present where, %APP_DATA% environment variable refers to, for example,
<DataBase Drive>:\Application folder depending on the installation parameters.
2PAA107563-600 B
a + b = c using current history calculations
Calculate time averages from current history
Calculate moving averages
Create triggering conditions for results and spawn events once condition
criteria are met.
File
133