VBrick Systems VB6000 Security Camera User Manual


 
54 © 2007 VBrick Systems, Inc.
Figure 3. Script Management – Part 2
Run Scripts Using the IR Remote Control
IR Remote Control scripts are enabled by simply placing a file named irNScript.txt (where
N is a number from 0–9) in the script directory of the unit. For example naming the following
script ir0Script.txt will enable the 0 on the IR remote to trigger the unit to run the script.
Run Scripts Using Event Triggers
The event triggering feature lets you use an external switch or power source to control the
functions of the VBrick appliance. See "Event Triggering" in the VBrick Appliance Getting
Started Guide for detailed examples.
Sample Script
vbrickSlot2EncoderNetworkTransmitEnable = 2 // set enable slot 2 encoder transmit
vbrickSlot2EncoderNetworkApplySet = 2 // apply above encoder network set
* // end of a group
vbrickHDRecorderControlMode = 1 // set recorder to user controlled mode
vbrickHDRecorderControlIrEnable = 1 // disable recorder ir control
vbrickHDRecorderControlName = event1record.mpg // set recorder file name
vbrickHDRecorderControlDuration.value = 30 // set recorder duration to 30 seconds
vbrickHDRecorderControlBatchEnable = 1 // set recorder batch to disabled
vbrickHDRecorderControlApplySet = 2 // apply above recorder control sets
* // end of a group
vbrickHDRecorderControlFtpEnable = 1 // disable auto ftp after record
vbrickHDRecorderControlApplySet = 2 // apply above recorder control set
vbrickHDRecorderNetworkReceiveType = 1 // set recorder receive type to ip address
vbrickHDRecorderNetworkReceiveIpAddr = 239.22.129.3 // set recorder receive ip address
vbrickHDRecorderNetworkReceivePort = 4443 // set recorder receive port
vbrickHDRecorderNetworkApplySet = 2 // apply above recorder network sets
* // end of a group
vbrickHDRecorderOperationStart = 2 // start recording
* // end of a group
wait = 5000 // wait for 5000 milliseconds
* // end of a group
vbrickSlot1EncoderNetworkTransmitEnable = 2 // set enable slot 1 encoder transmit
vbrickSlot1EncoderNetworkApplySet = 2 // apply above encoder network set
* // end of a group
Event Count Displays the number of times each input event has occurred.
Event Script Status Displays current status information for each event script.
Run Script These buttons allow the user to run each script without needing the
input event. Use this method to test the script.
IR Remote Scripts are enabled by simply placing a file named
irNScript.txt (where N is a
number from
0–9) in the script directory of the unit. For example
naming the following script
ir0Script.txt will enable the 0 on the IR
remote to trigger the unit to run the script.