System Configuration
VBrick 9000 Encoder Admin Guide
39
Event Triggering
To access the
Event Triggering
fields:
1. Navigate to
System Configuration
>
Advanced Configurations
>
Event Triggering
.
You can create and run scripts to activate certain functions on a VBrick encoder. There are
multiple ways to run scripts on an encoder.
•
You can run scripts for test purposes using the
Run Script
button in VBAdmin as
explained below; there are four event trigger scripts, with fixed names, that can be
created and stored in flash memory in the
/scripts
folder. You write your own scripts and
associate them with the file names shown below.
•
You can use an external event trigger.
•
You can use the iPhone application (the last two options are explained in the
Getting
Started Guide
.)
The VBrick encoder can be set up to use serial (COM) Pins 7 and 8 as input events to trigger
the encoder to run scripts.
The script files execute a subset of the CLI commands (
SVAR
and
WAIT
) in order to activate specific functions on the VBrick encoder. As shown in the
Event
Triggers
table below, there are a total of four possible input events associated with four
different scripts.
Table 1.
Event Triggers
Run Scripts Using VBAdmin
You can run scripts using the
Run Script
button in VBAdmin. This button is only available in
Edit
mode and is basically used for test purposes. See the Sample Script below. Note that you
cannot execute a script using an event trigger if VBAdmin is currently running in
Edit
mode.
If you run a script directly from VBAdmin, it automatically exits
Edit
mode and terminates
the active editing session.
Note:
The event pins and script file names differ from those on earlier 7000 Series
encoders. The script file names cannot be changed.
Script Name
Input Event
event1Script.txt
COM1 pin7 High to Low
event2Script.txt
COM1 pin7 Low to High
event3Script.txt
COM2 pin7 High to Low
event4Script.txt
COM2 pin7 Low to High
Summary of Contents for 9000 Series
Page 1: ...VBrick 9000 Encoder Encoder v4 3 Admin Guide August 2015 ...
Page 118: ...110 2015 VBrick Systems Inc ...
Page 124: ...116 2015 VBrick Systems Inc ...
Page 138: ...130 2015 VBrick Systems Inc ...
Page 146: ...138 2015 VBrick Systems Inc ...
Page 159: ...Monitor VBrick 9000 Encoder Admin Guide 151 ...
Page 170: ...162 2015 VBrick Systems Inc ...
Page 186: ...178 2015 VBrick Systems Inc ...
Page 190: ...182 2015 VBrick Systems Inc ...
Page 191: ......
Page 192: ...VBrick Systems Inc 2121 Cooperative Way Suite 100 Herndon Virginia 20171 ...