VBrick Systems ETV v4.1 manual Scripts, Creating a Script

Models: ETV v4.1

1 140
Download 140 pages 45.7 Kb
Page 60
Image 60

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 = 104065534. If using serial port

 

passthrough, use the VBrick's passthrough port number: 4439 for

 

COM1, 4414 for COM2

 

 

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).

Note If you are scheduling an event, any device for which you write a script must be available to the network at runtime. If the device is not available the script will fail.

Creating a Script

TTo create a script that can be executed from the Portal Server:

1.Go to Global Settings > Scripts.

50

© 2007 VBrick Systems, Inc.

Page 60
Image 60
VBrick Systems ETV v4.1 manual Scripts, Creating a Script