Global Settings
ETV Portal Server Admin Guide 61
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->
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 VBAdmin page and
how to find the value associated with that parameter using a standard MIB browser or text
editor. These brief procedures simply outline the basic steps which are typically performed by
a programmer or a system administrator. Contact VBrick Customer Service or see the VBrick
SDK User Guide for more information.
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.