C# and VBScript Scripts

The Panorama Script function provides developers with the means to perform custom processing within the application using C# or VB Script.
These scripts can perform tasks such as:
- Accessing files to read or write data,
- Accessing “system” information,
- Driving Panorama functions such as database access, file exchange via FTP…
- Performing any automatic action using the application’s objects (all their properties and methods are available).
Two types of Script objects are provided:
- The functional script is executed on the functional server, independently of the HMI machines, and allows you to manipulate the properties and methods of functional objects.
A functional script allows you to perform processing related to server functions. - The HMI script is executed on the Desktop HMI machine or in the Web HMI server and allows you to manipulate the properties and methods of HMI objects as well as functional objects.
An HMI script is used to implement operator commands.
Scripts can be executed “step by step” in a debugger when an error occurs.
| Application type | E2 | COOX | COM | H2 |
|---|---|---|---|---|
| Scripts | ![]() | ![]() | ![]() | ![]() |
And also
In addition to this help, CODRA Classroom offers videos on these topics. The following videos may be of particular interest:

