a.For VBrick devices, select a Parameter Name from the dropdown list , enter a Parameter Value, and click Add. Repeat as many times as necessary and click Submit when done. Note that the order in which you add parameters is critical. This is the order in which the commands will be executed at runtime. (See Finding VBrick Parameters and Values for more information.

b.For non-VBrick (Other) devices, write the script in a native language compatible with the device (or copy and paste binary input) and click Submit when done.

To run a previously created script, login to ETV Portal Server and click Scheduled Programs. Then create a schedule by selecting a date, time, and (optionally) a recurrence pattern. When done, click Script and select the script you want to run on the schedule you just defined.

Example

The following example shows binary input for a VBrick VBIR device. In a typical scenario you will need to set the Passthrough State and other parameters on the encoder before you can run the script. See "Serial Port Passthrough" in the VB4000-5000-6000 Admin Guide for more information. The following example programs a VBrick VBIR device to device code 351 and sends the Play command. This is just a brief example. If you need help or want more information about using binary scripts, please contact VBrick Support Services.

Begin instruction set, program for following device code. This set of instructions is used in all scripts.

<-script->

<-send binary 0xc1 0x0d-> <-receive 2->

<-send binary 0xc0 0x0d-> <-receive 2->

Program three-digit device code. Here code is 351.

<-send binary 0x83 0x0d-> <-receive 2->

<-send binary 0x85 0x0d-> <-receive 2->

<-send binary 0x81 0x0d-> <-receive 2->

End device code programming, set for command. This set of instructions is used in all scripts.

<-send binary 0xc0 0x0d-> <-receive 2->

<-send binary 0xd3 0x0d-> <-receive 2->

Command. Here Play.

<-send binary 0x91 0x0d-> <-receive 2->

Finding VBrick Parameters and Values

In order to create scripts, you need to determine the correct parameters and values to use. The following procedures explain how to locate parameters from the IWS page and how to

52

© 2007 VBrick Systems, Inc.

Page 62
Image 62
VBrick Systems ETV v4.1 manual Finding VBrick Parameters and Values, Example