Scripts – VBrick Systems Portal Server ETV v4.2 User Manual

Page 61

Advertising
background image

Global Settings

ETV Portal Server Admin Guide

49

3. In

Script Device Configuration

, complete the following fields and click

Submit

. This adds

the newly configured script device to the list of devices shown in the previous window.
To modify a Script Device, first delete the device and then repeat these steps.

Scripts

Scripts work with previously defined script devices such as VBricks, STBs, or other devices
attached to a VBrick. Scripts can be used to control any type of VBrick or to control other
devices like cameras and VCRs that are attached to a VBrick. To script VBrick commands,
you select the VBrick and build a script by choosing parameters from a dropdown list—the
parameters vary depending on the type of VBrick you select (MPEG1, MPEG2, etc.). You
can script commands to change any of the parameters (in the MIB database) that are available
through IWS.

For non-VBrick (

Other

) devices, you write a script from scratch using the native language for

that device. This scripting functionality is designed for advanced users and you must know
the instruction set for the device in order to script commands that will control that device.
You can use a text-based script or a binary script to control devices connected to the serial
passthrough port (COM1 or COM2) on a VBrick encoder.

You can control devices that require binary input by pasting binary input into the

Script

Content

text box. Binary scripts let you provide a sequence of commands for devices that

require binary input. This type of script will pass binary input through the serial passthrough
port on a VBrick to the specified device. You will typically connect your device to the serial
passthrough port using the port number previously defined for the device (

4439

for COM1,

4414

for COM2).

Device Name

Any user-defined name.

Address

Hard-coded device IP address. This is usually the address of the
VBrick or the address of the VBrick to which a device is connected but
it can be the address of any device.

Port

TCP/IP port number range =

1040

65534

. If using serial port

passthrough, use the VBrick's passthrough port number:

4439

for

COM1,

4414

for COM2

Advertising