54 © 2009 VBrick Systems, Inc.
The VBrick reads the URL field (e.g. www.myserver.com/config.xml) via HTTP protocol and
executes the script depending on the EXECUTE tag. If a VBEXECUTEFORCE tag is present in the
.xml file (see example below), the script runs every time at the poll interval even if it has not
changed. If a VBEXECUTEIFDIF tag is present the script run s only if it is di fferent from the last
executed file. One of these tags is required.
If the VBrick is in Edit mode, the script file will not run until the edit session is ended. The
auto config script will run before any waiting IR scripts or external event scripts. In Edit mode,
you can press Run Script to execute the script on demand. After a reboot, the VBrick checks
for a script URL and will run the script immediately, regardless of the VBEXECUTE tag value.
Sample Script
The auto config script file (config.xml) is an .xml file with the following syntax. It can set any
VBrick parameters and force an "apply" as needed. This example shows how to set various
recorder parameters. Note that a VBEXECUTE tag is required.
<XML Header>
<?VBEXECUTEFORCE?> or <?VBEXECUTEIFDIF?>
<VBRICK>
vbrickHDRecorderControlMode = 1
vbrickHDRecorderControlIrEnable = 1
vbrickHDRecorderControlName = event1record.mpg
vbrickHDRecorderControlDuration.value = 30
URL Valid path to a URL script file, for example: www.myserver.com/
config.xml. Default = blank.
PollRate The rate at which the appliance checks the config file. 0–1440 minutes
(default = 0).
Auto ConfigStatus Shows auto config status including when the script was last run, URL
connection errors, etc. Press Refresh to update.
RunS cript Edit mode only. Run the script now.