Installation and Setup
WebRelay-10 Users Manual
Run Script
This option selects whether or not the selected script will be run after it has been uploaded. The
Submit button must be clicked to run the script.
External Variables
External Variables are variables that can be used in BASIC scripts. They are called External
Variables because their values can be changed externally to the BASIC script using xml requests, or
through the
Control Page
. This allows basic scripts to react to user input. These variables are
considered to be floating point numbers, just like other variables in the BASIC script.
The following page is displayed when configuring External Variables:
External Variable
This drop down menu offers the option to configure each of the four External Variables.
Display State
Checking this box will display the state of the selected External Variable on the
Control Page
.
Display Button 1
Checking this box will display a button on the
Control Page
. Clicking this button on the
Control
Page
will set the extVar to value 1.
Display Button 2
Checking this box will display a button on the
Control Page
. Clicking this button will set the extVar
to value 2.
Display Input Box
Checking this box will display an input box on the
Control Page
. Entering a value on the
Control
Page
in this field and clicking Set, will set the selected extvar to the new value. Values entered can
be either positive or negative numbers.
Description
Text entered here will be displayed in the left column of the control page. Up to 24 characters may
be entered here. The default text is
extVar#
.
Button 1 Label
This text field is used to describe the function of button 1 of the selected extVar. The text also
appears to the right of the corresponding extVar status. Up to 14 characters may be entered here.
By default, this text is
ON
for a value of 1.
page 50
Xytronix Research & Design, Inc.
Figure 2.4o - extVar Setup