You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

About the Scripts Module

The module provides a range of features that enable users to create scripts based on different programming languages, such as C#, Python, and JavaScript. It allows users to define and manage scripts based on different parameters, such as data sources, triggers, and actions.

The scripts module also includes a range of pre-built functions and libraries, enabling users to perform various tasks, such as data acquisition, data processing, and system control. It supports a range of APIs (Application Programming Interfaces), enabling users to integrate external software and systems into the automation and control system.

Moreover, the scripts module includes various debugging and diagnostic tools, enabling users to test and troubleshoot scripts effectively. It provides real-time script performance data, allowing users to identify issues and optimize script execution accordingly.


Built-in Code Editor

Our platform includes an integrated script editor for developers to create custom functionality for their applications. The editor provides a powerful set of tools to help you test and evaluate your scripts. Debugging tools include assigning breakpoints, stepping into code, stepping over code, executing line by line, and watching the values of objects change with each step.

Scripts are executed natively as managed code within the .NET Framework, meaning users cannot create a script that would inadvertently cause the system to shut down. This feature provides a greater level of security and up-time for your application.

Server and Client Domains

Using the platform's script editor, users can create scripts that execute on the server for a global reach, or they can do it on the client side for a local reach.

Tasks, Classes, and Expressions

Users can create Tasks, .NET classes, and function libraries. In some cases, creating one-line expressions rather than full methods may be more efficient or desirable. For that purpose, the platform provides an expression editor that allows access to all .NET operands and classes. 

Object Orientation, Project Elements

All project elements, including Tags, Datasets, Alarms, devices, and status of communications, are immediately accessible via IntelliSense. Since they are native .NET objects, no temporary tag calls are required. A single operation allows users to move data from Tags to .NET external Data-tables.

C#, VB.NET, and Code Translation

Our platform includes industry-standard languages of C# and VB.NET. Engineers no longer have to suffer through using old proprietary, single-threaded or interpreted scripting editors. Translate your code between C# and VB.NET anytime to better leverage your expertise.

Events and Scheduling

It is possible to trigger tasks and expressions to execute by date, time, condition, calendar, tag change, or interval. Execution is distributed among processes, each running in its application domain and isolated from the real-time database, for maximum system security and performance.

Users can perform online project changes and configuration while running and debugging.

<screenshot>



In this section...

The root page @parent could not be found in space 93Draft.


  • No labels