Web Server
XW-210 WiFi™ Users Manual
4.9 Script Tab
The XW-210 can run custom programs written in a simplified version of BASIC. This page is used to load
and execute these programs. Before it can be loaded to the XW-210, a script must first be prepared as a
.txt file. The file must then be uploaded to XW-210 via the
Script
tab. The maximum size of script that
can be uploaded to the device is 4-Kbytes. Information on writing a basic program for XW-210 can be
found in
Section 6.7: Basic Scripts
.
An ASCII standard text file format should be used, such as Windows Notepad, Programmer's Notepad,
vi, or other text editor that output the file as a .txt. Rich Text Format (.rtf) used by Microsoft WordPad is
NOT compatible.
Current Script
This field displays the .txt file that is uploaded to XW-210. Text displayed in this screen cannot be edited.
In order to edit any script, it must be rewritten in the .txt file and uploaded again.
Interpreter Status
This field displays whether the program is running, has stopped or finished, or if there are errors
contained in the script. If there are errors in the script, the line on which the error occurred is displayed.
Upload BASIC Script
This field displays the script selected to be uploaded to the device. To upload a script to XW-210, click
the
Browse
button, find the .txt file previously created, and select
Open
. The location of the file should
appear in the neighboring field. To upload the script to the unit, select
Submit
.
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.
Page 50
Xytronix Research & Design, Inc.
Summary of Contents for WebRelay Wireless XW-210I
Page 1: ......