VIVOTEK

Command: update

PARAMETER

 

VALUE

 

DESCRIPTION

 

label

 

<integer primary key>

 

Required.

 

 

 

 

 

Identify the designated record.

 

 

 

 

 

Ex. label=1

 

 

 

 

 

 

 

isLocked

 

<boolean>

 

Required.

 

 

 

 

 

Indicate if the file is locked or not.

 

 

 

 

 

 

 

Ex. Update records whose key numbers are 1 and 5 to be locked status.

http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=update&isLocked=1&label=1&label=5

Ex. Update records whose key numbers are 2 and 3 to be unlocked status.

http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=update&isLocked=0&label=2&label=3

Command: queryStatus

PARAMETER

 

VALUE

 

DESCRIPTION

 

retType

 

xml or javascript

 

Optional.

 

 

 

 

 

Ex. retype=javascript

 

 

 

 

 

The default return message is in XML format.

 

 

 

 

 

 

 

Ex. Query local storage status and call for javascript format return message.

http://<servername>/cgi-bin/admin/lsctrl.cgi?cmd=queryStatus&retType=javascript

8.15 Virtual input (capability.nvi > 0)

Note: Change virtual input (manual trigger) status.

Method: GET

Syntax:

http://<servername>/cgi-bin/admin/setvi.cgi?vi0=<value>[&vi1=<value>][&vi2=<value>] [&return=<return page>]

 

PARAMETER

 

VALUE

 

 

DESCRIPTION

 

 

vi<num>

 

state[(duration)nstate]

 

 

Ex: vi0=1

 

 

 

 

 

 

 

Setting virtual input 0 to trigger state

 

 

 

 

Where "state" is 0, 1. “0”

 

 

 

 

 

 

 

means inactive or normal

 

 

 

 

 

 

 

 

 

Ex: vi0=0(200)1

 

 

 

 

 

 

 

 

 

 

 

state while “1” means

 

 

Setting virtual input 0 to normal state, waiting 200

 

 

 

 

 

 

 

 

 

 

 

active or triggered state.

 

 

milliseconds, setting it to trigger state.

 

 

 

 

 

 

 

 

69

User's Manual - 171

Page 171
Image 171
Vivotek IP-8332C user manual Virtual input capability.nvi