62 © 2009 VBrick Systems, Inc.
3. In Script Configuration, enter a Script Name and select a Device Type (MPEG1, MPEG2/
MPEG4/WM, or Other) from the dropdown list—and wait a few seconds for ETV
Portal Server to populate the panel with a list of devices.
4. In Select Device, highlight one or more devices and use the arrow buttons to populate
the right panel.
5. Create the Script Content.
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.
<-script->
<-send binary 0xc1 0x0d->
<-receive 2->
<-send binary 0xc0 0x0d->
<-receive 2->
<-send binary 0x83 0x0d->
<-receive 2->
<-send binary 0x85 0x0d->
<-receive 2->
<-send binary 0x81 0x0d->
<-receive 2->
<-send binary 0xc0 0x0d->
<-receive 2->
<-send binary 0xd3 0x0d->
<-receive 2->
<-send binary 0x91 0x0d->
<-receive 2->
Begin instruction set, program for following device code. This set of instructions is used in all scripts.
Program three-digit device code. Here code is 351.
End device code programming, set for command. This set of instructions is used in all scripts.
Command. Here Play.