Manage Scriptbasic Applications - Digi TransPort WR31 User Manual

Hide thumbs Also See for TransPort WR31:
Table of Contents

Advertisement

Manage applications

Manage ScriptBasic applications

Scripting support allows end users to extend and enhance the functionality of the TransPort
routers. 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. You can configure up to 30
parameters. 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
The name of the parameter to create. This can be any alphanumeric string. Once defined, you
can reference these parameters 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 in the router's file 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.
Digi TransPort WR Routers User Guide
Manage ScriptBasic applications
740

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents