VIVOTEK
402 - User's Manual
© 2020 VIVOTEK INC. All Right Reserved
262
PARAMETER
VALUE
DESCRIPTION
limit
<positive integer>
Optional.
Limit the maximum number of returned search records.
offset
<positive integer>
Optional.
Specifies how many rows to skip at the beginning of the
matched records.
Note that the offset keyword is used after limit keyword.
To increase the flexibility of search command, you may use “OR” connectors for logical “OR” search
operations. Moreover, to search for a specific time period, you can use “TO” connector.
Ex. To search records triggered by motion or di or sequential and also triggered between
2008-01-01 00:00:00 and 2008-01-01 23:59:59.
http://<
servername
>/cgi-bin/admin/lsctrl.cgi?cmd=search&triggerType=’OR+’di’+OR+’seq’
&triggerTime=’2008-01-01 00:00:00’+TO+’2008-01-01 23:59:59’
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.17
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]
Where "state" is 0, 1. “0”
means inactive or normal
Ex: vi0=1
Setting virtual input 0 to trigger state