The snap shot below displays OPC Script Text editor with intellisense help for Windows Scripting Host object WScript.
The snap shot below displays OPC Script Text editor with Popup help for EZ-OPC object method.
The snap shot below displays OPC Script Text editor running script using Microsoft's CScript Engine.
The snap shot below displays OPC Script Text editor starting the script in Microsoft's Script Editor for Debugging.
Runnning Script from SSE Server
SSE can run VBScript and JScript files using built in Script Manager. The scripts are run out of process and are monitored by SSE. In case if script terminates abnormally, SSE can be configured to automatically restart the scripts. The combination of VBScript, JScript, EZ-OPC control allows the user to customize data manipulation. For example User can write
- Protocol Convertor and Data Gateway
- Alarm Monitor
- Log Sequence of Events
- Interface SSE data with ADO compliant Databases such as Microsoft access, SQL Server, Oracle and others
Using SSE to run the scripts increases script reliability since SSE ensures that the require scripts are running while SSE gathers data. Plus the scripts are run in NT Service context hence you are assured that scripts are doing the job without the need to login. Even if server is rebooted, SSE can be configured to start the scripts when SSE service starts up automatically.
The snap shot below displays SSE running the VBScript out of process using the EZ-OPC control.