Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Introduction

Our platform's Scripts feature a variety of functionalities, allowing

Easy Heading Macro
headingIndent40
navigationTitleOn this page
selectorh2,h3
wrapNavigationTexttrue
navigationExpandOptiondisable-expand-collapse

About the Scripts Module

The module provides a range of features that enable

users to create scripts

based

in different programming languages

, such as

like C#, Python, VB.NET, and JavaScript.

It allows users to

With this tool, users can define and manage scripts based on

different

various parameters

,

such as data sources, triggers, and actions.

The scripts module also includes a range of

These script tools come equipped with pre-built functions and libraries

, enabling users to perform various tasks, such as

for tasks like data acquisition,

data

processing, and system control.

It supports a range of APIs (Application Programming Interfaces), enabling users to integrate

Additionally, they support various APIs, enabling integration with external software and systems

into the

for 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.

Image Removed

purposes.


On this page:

Table of Contents
maxLevel3


Key Functionalities

Image Added


Built-in Code Editor

Our platform features an integrated script editor that designed for developers can use to create craft custom functionality for their applications.. The editor provides a powerful the application. This editor offers a robust set of tools to help you test and evaluate your aid in testing and evaluating scripts. Debugging tools capabilities include assigning setting breakpoints, stepping into code, stepping and over code, executing line by line, and watching the values of objects monitoring object values as they 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 applicationOur code editor supports multiple languages such as C#, VB.NET, JavaScript, and Python, as well as XML and JSON documents.

Server and Client Domains

With the platform's our platform’s script editor, users can you have the flexibility to create scripts that execute either on the server for a global reach, accessibility or on the client side for a local reachexecution.

Tasks, Classes

,

and Expressions

Users can You have the option to create tasks, .NET classes, and function libraries. In some cases, creating Sometimes, it's more efficient or preferable to create one-line expressions rather than instead of full methods may be more efficient or desirable. For that this purpose, the our platform provides offers an expression editor that allows grants 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

VB.NET,

 and Code Translation

Python and Javascript

Our platform includes supports industry-standard languages like C#, Python, JavaScript, and VB.NET. Engineers are , so engineers no longer burdened with using outdated, have to struggle with old proprietary, single-threaded, or interpreted scripting editors. Translate You can also translate your code between C# and VB.NET anytime to better leverage your expertise.  

Events and

Scheduling

Scheduling 

You can It is possible to trigger tasks and expressions to execute by based on various factors like date, time, conditionconditions, calendar events, tag changechanges, or intervalintervals. Execution The execution is distributed among processes, with each running in its own application domain and , isolated from the real-time database, for . This ensures maximum system security and performance.

Tip

Object Orientation, Project Elements

You can access all project elements such as Tags, Datasets, Alarms, and devices instantly through IntelliSense, as they are native .NET objects. There's no need for temporary tags or function calls. With just one command, you can seamlessly transfer data from Tags to .NET objects and external Data-tables.

Configure your Python Interpreter

The Script module seamlessly integrates Python language and applications, providing exceptional scripting capabilities across various programming languages. You also have the flexibility to configure any version of the Python interpreter for each project

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

.


Info

Learn more at Datasets and SQL Queries Scripts (Tasks and Classes).



In this section...

Page Tree
root@parent
spaces93DRAF