EasyManua.ls Logo

Digi TransPort - Manage Scriptbasic Applications

Digi TransPort
813 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Manage ScriptBasic applications
Digi TransPort User Guide 701
Manage ScriptBasic applications
To allow end users to extend and enhance the functionality of the TransPort routers, scripting
support is provided. ScriptBasic is a scripting language supported by Digi TransPort routers. This
section describes how to run simple ScriptBasic scripts.
To manage ScriptBasic application files, go to Applications > Basic > ScriptBasic. On this page,
The main configuration setting is a table containing a list of reference numbers and associated
user parameters.
The second setting is a text box containing the name of the script to run.
Initially, the table is displayed empty, with a row that states No parameters have been defined.
The leftmost column contains the number 1.
# n
The number of the parameter that appears in the next column. Up to 30 parameters can be
configured. It is best to enter the numbers in a consecutive, ascending sequence since this is
how the parameters will be referred to in any ScriptBasic script.
Parameter
Type the name of the parameter you wish to create. This can be any alphanumeric string.
These parameters can then be referenced by a ScriptBasic script. For example, a script using
parameter string1 will use the string defined in the text entry box associated with command
index 1.
Add
Adds the parameter to the list of parameters. Parameters are added consecutively, with each
parameter number referring to the string in the adjacent column.
Run Script
The name of the ScriptBasic file to run. This script must exist within the filing system.
Conventionally, ScriptBasic scripts use the .sb file extension, such as myscript.sb.
Run
Causes the ScriptBasic interpreter to run the named script.
Stop
Stops the execution of the ScriptBasic script.

Table of Contents

Related product manuals