Cli Sample Script - VBrick Systems VB6000 Series Getting Started Manual

Network video appliances
Hide thumbs Also See for VB6000 Series:
Table of Contents

Advertisement

STAB vbrickSlot1EncoderHttpPushDomainName.1=dom
$!vbrickSlot1EncoderHttpPushDomainName.1=dom
SVAR vbrickSlot1EncoderHttpPushTableApplySet=2
$!vbrickSlot1EncoderHttpPushTableApplySet=2
4. End the edit session.

CLI Sample Script

The following sample script shows various VBrick configuration tasks and was created with
ProComm. It includes several intentional errors to show how errors are reported. Note that in some
places, after an
, there is a 15 second wait to allow the VBrick to process the previous
ApplySet
command.
;Recorded script. Editing may be required.
proc main
; integer loops
waitfor "Login:" FOREVER
transmit "admin^M"
waitfor "Password:" FOREVER
transmit "admin^M"
waitfor "VBrick> " FOREVER
;
for loops = 0 upto 10
while 1
transmit "SVAR vbrickEditName=^M"
waitfor "^J$!vbrickEditName" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickSlot1EncoderVideoTargetBitRate=2000000^M"
waitfor "^J$!ERROR=Session Edit Name Not Correct" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickEditName=admin^M"
waitfor "^J$!vbrickEditName=admin" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickSlot1EncoderVideoTargetBitRate=2000000^M"
waitfor "^J$!vbrickSlot1EncoderVideoTargetBitRate=2000000" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickSlot1EncoderVideoHue=500^M"
waitfor "^J$!ERROR=Value out of range" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickSlot1EncoderVideoHue=-50^M"
waitfor "^J$!vbrickSlot1EncoderVideoHue=-50" FOREVER
waitfor "^JVBrick> " FOREVER
transmit "SVAR vbrickSlot1EncoderVideoApplySet=2^M"
waitfor "^J$!vbrickSlot1EncoderVideoApplySet=2" FOREVER
waitfor "^JVBrick> " FOREVER
waitquiet 15 FOREVER
transmit "GVAR vbrickSlot1EncoderVideoTargetBitRate^M"
waitfor "^J$!vbrickSlot1EncoderVideoTargetBitRate=2000000" FOREVER
VBrick Appliance Getting Started Guide
Command Line Interface
59

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vb4000 seriesVb5000 series

Table of Contents