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

AVEVA Enterprise SCADA

ACEAddCode

  • Last UpdatedJul 05, 2024
  • 1 minute read

When a text string is provided, this business object adds the string as an Application Calculation Engine (ACE) procedure in the system.

Syntax

ACEAddCode <procedureName> <code>

 

Parameters 

Name

Description

procedureName

This parameter is a unique identifier for an 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. This source code includes the user code and the wrapper code that ACE inserts to make a valid object that is easy to compile.

 

Example

"..." represents the wrapper code.

ACEAddCode testAce"ACE Engine CSharp.NET

...

Output=input1+input2;

...

Comments

The Remote Procedure Call (RPC) creates a record in the Application Calculation Engine code (ACECode), and ACE source code files are created on all servers through CMXRep.

In This Topic