User manual
Table Of Contents
- Overview
- Ready to Use
- Software Installation
- Accessing the Network Camera
- Using VIVOTEK Recording Software
- Using 3GPP-compatible Mobile Devices
- Using RTSP Players
- Main Page
- Client Settings
- Configuration
- System > General settings
- System > Homepage layout
- System > Logs
- System > Parameters
- System > Maintenance
- Media > Image
- Media > Video
- Media > Video
- Network > General settings
- Network > Streaming protocols
- Network > SNMP (Simple Network Management Protocol)
- Security > User accounts
- Security > HTTPS (Hypertext Transfer Protocol over SSL)
- Security > Access List
- PTZ > PTZ settings
- Event > Event settings
- Applications > Motion detection
- Applications > Tampering detection
- Applications > Package management - a.k.a., VADP (VIVOTEK Application Development Platform)
- Recording > Recording settings
- Local storage > SD card management
- Local storage > Content management
- Appendix

VIVOTEK
310 - User's Manual
8.19 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
state while “1” means
active or triggered state.
Where "nstate" is next
state after duration.
Ex: vi0=1
Setting virtual input 0 to trigger state
Ex: vi0=0(200)1
Setting virtual input 0 to normal state, waiting 200
milliseconds, setting it to trigger state.
Note that when the virtual input is waiting for next state, it
cannot accept new requests.
return <return page> Redirect to the page <return page>after the request is
completely assigned. The <return page>can be a full URL
path or relative path according the current path. If you omit
this parameter, it will redirect to an empty page.
Return Code Description
200 The request is successfully executed.
400 The request cannot be assigned, ex. incorrect parameters.
Examples:
setvi.cgi?vi0=0(10000)1(15000)0(20000)1
No multiple duration.
setvi.cgi?vi3=0
VI index is out of range.
setvi.cgi?vi=1
No VI index is specified.
503 The resource is unavailable, ex. Virtual input is waiting for next state.
Examples:
setvi.cgi?vi0=0(15000)1
setvi.cgi?vi0=1
Request 2 will not be accepted during the execution time(15 seconds).