Command Line Interface
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 ApplySet, there is a 15 second wait to allow the VBrick to process the previous 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
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 | 59 |