Introduction
Our platform's Scripts feature a variety of functionalities, allowing
Easy Heading Macro | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
About the Scripts Module
...
users to create scripts
...
in different programming languages
...
like C#, Python, VB.NET, and JavaScript.
...
With this tool, users can define and manage scripts based on
...
various parameters
...
such as data sources, triggers, and actions.
...
These script tools come equipped with pre-built functions and libraries
...
for tasks like data acquisition,
...
processing, and system control.
...
Additionally, they support various APIs, enabling integration with external software and systems
...
for automation and control
...
purposes.
On this page:
Table of Contents | ||||
---|---|---|---|---|
|
Key Functionalities
...
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
...
features an integrated script editor designed for developers to
...
craft custom functionality for
...
the application.
...
This editor
...
offers a
...
robust set of tools to
...
aid in testing and evaluating scripts. Debugging
...
capabilities include
...
setting breakpoints, stepping into
...
and over code, executing line by line, and
...
monitoring object values as they change with each step.
...
Our 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 our platform’s script editor,
...
you have the flexibility to create scripts that execute either on the server for
...
global
...
accessibility or on the client side for
...
local
...
execution.
Tasks, Classes
...
and Expressions
...
You have the option to create tasks, .NET classes, and function libraries.
...
Sometimes, it's more efficient or preferable to create one-line expressions
...
instead of full methods
...
. For
...
this purpose,
...
our platform
...
offers an expression editor that
...
grants access to all .NET operands and classes.
...
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
...
C#, VB.NET, Python and Javascript
Our platform supports industry-standard languages
...
like C#, Python, JavaScript, and VB.NET, so engineers no longer have to
...
struggle with old proprietary, single-threaded, or interpreted scripting editors.
...
You can also translate your code between C#
...
and VB.NET anytime
...
.
Events and
...
Scheduling
You can trigger tasks and expressions to execute
...
based on various factors like date, time,
...
conditions, calendar events, tag
...
changes, or
...
intervals.
...
The execution is distributed among processes, with each running in its own application domain
...
, isolated from the real-time database
...
. This ensures maximum system security and performance.
Tip |
---|
Users can perform online project changes and configuration while running and debugging. |
...
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.
Info |
---|
Learn more at |
...