OpenTracker USB User’s Manual
34
14.
Script System
The OpenTracker USB’s script engine allows simple programs to be run on the
tracker to customize the tracker’s operation and automate tasks. Use the ‘script’
button in the otwincfg utility to access the script editors.
Common script tasks include handling multiple beacon texts, responding to
events such as door alarms or high temperatures, transmitting APRS objects or
telemetry parameters, and changing regional settings automatically. Detailed
information on all script commands and additional example scripts can be found
at wiki.argentdata.com.
14.1.
Script Editor
Scripts are created in otwincfg and uploaded to flash memory in the tracker.
When the SCRIPT option is enabled, the script is executed 8 times per second. If
the 'Quick' command is used in the script, the script will execute again in one
timer tick – 1/1200 second on the Tracker3.
Scripts cannot be remotely edited directly, but the script editor can generate a list
of PATCH commands that will allow a prepared script to be uploaded to a
remote tracker. Make sure the SCRIPT option is turned off while the script is
being uploaded. Turn the script option on, when you are ready to run scripts.
The editor screen is divided into three main parts. The top left portion is the
script listing, the bottom left portion allows data entry, and the right side
provides buttons for all script commands.