beautypg.com

C. url commands of the network camera – LevelOne WCS-2010 User Manual

Page 57

background image

52

C. URL Commands of the Network Camera

For some customers who already have their own web site or web control application, the
Network Camera can be easily integrated through convenient URLs. This section lists
the commands in URL format corresponding to the basic functions of the Network
Camera.

Capture Update Snapshot of JPEG Image

/cgi-bin/video.jpg
The Network Camera will return the most up-to-date snapshot in JPEG format.

Query Status of the Digital Input

/cgi-bin/getdi.cgi
The Network Camera will return the status of digital input.

Drive the Digital Output

/cgi-bin/setdo.cgi?do=
The state is either “h” or “l”. “h” means high, that is NC is connected with COMMON and
“l” means “low” that is NO is connected with COMMON.
For instance, typing http://192.168.0.201/cgi-bin/setdo.cgi?do=h in the address bar of the
web browser will command the Network Camera, with IP address of 192.168.0.201, to
set digital output to connect to NC with COMMON.

Restore Factory Default Settings

/setup/restore.cgi
The Network Camera will automatically restart after restoring factory default
configurations.