VBrick Systems VB5000 Network Hardware User Manual


 
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 runs only if it is different 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.
Poll Rate The rate at which the appliance checks the config file. 0–1440 minutes
(default = 0).
Auto Config Status Shows auto config status including when the script was last run, URL
connection errors, etc. Press Refresh to update.
Run Script Edit mode only. Run the script now.