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

Compare with Current View Page History

« Previous Version 6 Next »

Introduction

The module provides a range of features that enable users to create scripts based in 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.


On this page:


Key Functionalities

Built-in Code Editor  

FrameworX includes an integrated script editor for developers to create custom functionality for the application. 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 watch values of objects changing with each step. Our code editor works for C#, VB.NET, JavaScript and Python languages, or XML and JSON documents. 

 

Server and Client Domains  

Using the FrameworX script editor you can create scripts that execute on the server for global reach, or they can execute on the client side for local reach.  

 

Tasks, Classes and Expressions  

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

 

C#, VB.NET, Python and Javascript  

FrameworX includes industry standard languages of C#, Python, Javascript and VB.NET so engineers no longer have to suffer through using old proprietary, single-threaded or interpreted scripting editors. You can also translate your code between C# and VB.NET anytime.  

 

Events and Scheduling  

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

 

Object Orientation, Project Elements  

All project elements, including Tags, Datasets, Alarms, devices, status of communications are immediately accessible via IntelliSense, as they are native .NET objects, no temporary tags or function calls are required. With a single command move data from Tags to .NET objects and external Data-tables.  

 

Configure your Python Interpreter 

With seamless integration of Python language and applications, the Script module delivers exceptional scripting capabilities across various programming languages. You can also configure any version of the Python interpreter for each project. 



In this section...

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

  • No labels