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

AVEVA Enterprise SCADA

ACECompile

  • Last UpdatedApr 24, 2025
  • 1 minute read

The function of this Business Logic Tier (BLT) is to compile the specified code.

Syntax

ACECompile <procedureName> <code>

 

Parameters 

Name

Description

procedureName

This parameter is a unique identifier for an Application Calculation Engine (ACE) procedure. The name is composed of the procedure name, followed by a double quotation mark (") and the procedure type. For example:

testACE"ACE Engine CSharp.NET

The type is defined in the Editor Types configuration file for the languages as shown below:

<EditorFileType>

<Name>ACE Engine CSharp.NET</Name>

code

This parameter is the source code for the ACE procedure. The source code includes the user code and the wrapper code that ACE inserts to make a valid object that is easy to compile.

 

Example

ACECompile testACE"ACE Engine CSharp.NET "F"

Comments

The Remote Procedure Call (RPC) gathers the source code for the specified ACE procedure from the file system and compiles it. Any errors or warnings generated are returned to the caller in a DataTable. If no errors are generated, the DataTable is empty. The DataTable contains the columns explained in the following table.

 

Column Name

Description

Error

This column displays the error message in string form.

Line

This column indicates the line number in the source code where the error occurs.

Column

This column indicates the character number in the source code (starting from the beginning of the Line) where the error occurs.

IsWarning

This column displays a value of "True" of the error is actually a warning. "False" represents an error.

 

In This Topic