Vivotek IP3111/3121 Digital Camera User Manual


 
74
www.vivotek.com
T: 886-2-22404099
F: 886-2-22404097
URL commands of Network Camera
For some customers who already have their own web site or web control application, Network Camera
can be easily integrated through convenient URLs. This section lists the commands in URL format
corresponding to the basic functions of Network Camera. Some RFC standards related to HTML may be a
good reference for implementation of the customized homepages.
Capture update Snapshot of JPEG image
/cgi-bin/video.jpg
Move motorized device in PT direction
<direction>: up, left, right, down, home
<command>: 1, 2, 3, 4, 5
/cgi-bin/camctrl.cgi?move=<direction>&cust=<command>
Query status of digital inputs
/setup/getdi.cgi
Network Camera will return status of digital input.
Drive digital outputs
/setup/setdo.cgi?do=<state>
, where state is H, L. H means NC connected with COMMON and L means NO connected with
COMMON.
For example, http://192.168.0.201/setup/setdo.cgi?do=h
will command Network Camera, with IP address
of 192.168.0.201, to set digital output to connect to NC with COMMON.
Clear data mode serial port driver
This URL applies to the attached serial port device including supported PTZ cameras or non-supported
custom cameras. Note the serial port settings of custom cameras must be correctly defined in advance.
Send command to device attached to COM
/cgi-bin/senddata.cgi?data=123456,ABCDEF&flush=yes&wait=1000&read=6