Compile Filter Script
The Compile button submits the filter script in the Event Filter Editor to the C# compiler. The Compile step runs before event generation, so any syntax error is caught immediately rather than after a long generation run. The script is part of the study configuration and must be compiled (or empty) before the Run button is enabled.

Compile Filter Script
To compile the current filter script:
- Type or insert the filter expression in the Event Filter editor.
- Click the Compile button.

If the script compiles successfully, the Filter Script Compiled Status Indicator turns green and the Run button is enabled. If the script fails to compile, the indicator stays in its uncompiled state and an error description is displayed.
When to Recompile
Recompile the filter script whenever its text changes. Aquila does not auto-recompile after edits, because the user can make several changes before settling on a final expression. Until you click Compile again, the indicator reflects the last successful compile state, which may not match the script you have most recently typed.