Topic
[KB1194]How to create an Exprv.dat file with the Application Architect
Applies to:
PcVue 12 onwards |
||
|
||
Summary:
This article explains how to create an Exprv.dat or another file with the Application Architect. |
||
|
||
Details:
In the following example, the expressions are used to automatically calculate an average consumption per building, then aggregate them to the city level. As you can see from the image below, expressions are created in two stages. First, use the Application Architect to generate an expression import file in the project’s TP directory. Then a Scada Basic program to import this file. 1/ Configuration in AACreate the following Templates:
Instantiate differents elements to build the project: Then generate and check the result. Warning: Use backslash (\) escape character to include double-quotes character (“) inside a string 2/ Import by Scada Basic programDynamic import by scada basic program. Simply use this kind of function Import_Expression below: Check expressions in Application Explorer, you can use them in the project. |
||
Download attachments: |
||
|
||
|
Created on: 30 Mar 2023 Last update: 04 Sep 2024