Passthrough – VBrick Systems 7000 User Manual

Page 30

Advertising
background image

24

© 2009 VBrick Systems, Inc.

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 more information.

Sample Script

The following script sets a multicast transmitter destination and enables the transmitter. The
extension .1.1 refers to the first program and the first transmitter.

SVAR vbrickProgramTransmitterInetAddr.1.1=239.22.118.1
SVAR vbrickProgramTransmitterEnable.1.1=2
SVAR vbrickProgramTransmitterApplySet.1.1=2
WAIT 1000

Scripting Syntax

Scripts can have comments and blank lines but the first line of the script must be a
command.

Script commands must start in column 1.

svar

(set variable) must precede the variable name.

Wait time is defined milliseconds. A value of 1000 = 1 second.

Most variable changes require an apply set.

There is no clear command.

There is no chaining of scripts.

Comments are not allowed on the same line as a command.

All scripts are executed in a strictly serial manner by a single task.

While executing a script it is possible to miss a double change of any event.

Passthrough

The TCP/IP network can serve as an intermediary between two VBrick appliances and their
serial ports or between a PC application sending IP packets and an appliance's serial port.
This feature supports a wide range of serial applications. Contact VBrick support for details
and restrictions. End-to-end control is initiated by enabling or disabling Passthrough. For
more about passthrough, and how it can be used, see the H.264 Appliance Getting Started
Guide
.

Event Script Control The Run Script buttons lets you run each script without needing the

input event. Use this method to test the script.

Advertising