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

AVEVA™ Process Simulation

Supported syntax

  • Last UpdatedSep 11, 2025
  • 1 minute read

The contents of a .csx file look similar to a C# file with the following differences:

  • You do not need to create classes.

  • Since there are no classes, there are no methods, properties, or fields. Instead, you can create top-level functions and call them from one of the defined AVEVA Real-Time System (RTS) Events. Most C# syntax (other than the exceptions listed here) is accepted inside of a function body.

  • You can define variables within functions and parameters to functions.

  • You can use a number of automatically included variables. See Automatically included variables for details.

  • Certain common namespaces and references are included automatically. See Namespaces and References for details.

  • Use the #r syntax to add a reference.

  • Use the #load syntax to load another .csx file.

Related Links
TitleResults for “How to create a CRG?”Also Available in