The X Vision system integrates a VB.NET scripting environment that significantly expands its potential.
With the scripts it is possible to configure complex logics able to access all the functions exposed by the system.
The scripts are distinguished in:


    1. Background Script: they are executed cyclically for the entire supervision time, as a logic for "background" operations (monitoring, adjustment, updating ...). They can not contain elements interfacing with the user (dialogs, messages, etc.) or in any case blocking.
    2. Page Script: define the procedures to be performed when a screen is opened, during viewing, and when it is closed.
    3. Action Script: executed in response to an event (action on event, scheduled action, login / logout of a user, keyboard event, selection of a menu)
    4. Object Script: define custom event management procedures for a graphic object of the synoptic.

 

The scripts are also used for the development of wizards.

In addition to the generic functions integrated in the standard language syntax (mathematical, trigonometric, literal, logic, conversion, etc.), specific functions are available for interfacing with elements of the X Vision system, which allow:


    1. manage the RealTime DataBase
    2. read / write the configuration fields of the RealTime DataBase Items
    3. manage the messages to be sent to the system
    4. manage users of the system
    5. manage system alarms
    6. send navigation commands
    7. manage Trend objects
    8. access the properties of all the objects on the page


This guide explains the general use of scripts and provides specific reference information for integrative interfacing with elements of the X Vision system. For more information about the language and functions of the editor refer to the online help of the editor.