The custom code editor allows you to create custom code to be executed by the XIA Automation Server. The code can modify the values of automation variables and make changes to the system.


   



 Load Empty Document

Clears the code currently loaded into the editor and displays the default code template.


 Save Document

Saves the currently written code


 Compile Code

Compiles the specified code on the XIA Automation Server and returns any errors.


 Execute Code

Compiles the specified code on the XIA Automation Server, executes the compiled code immediately and returns any errors.
NOTE: Automation variables are not available when testing plug-ins through the dynamic code editor.


 Language

Determines the language in which the code is written, either VB.NET or C#.NET. Changing the selected language will reload the default code template for that language.