HTML Sample File [nsmainview1.html]

<HTML>

<HEAD></HEAD>

<BODY BGCOLOR=”#FFFFCC”> <CENTER>

<SCRIPT LANGUAGE=”JavaScript”> width=%W

height=%H

myDate = new Date();

document.write(“<IMG SRC=/cgi-bin/push?CH=%c&PAGE=”+myDate.getTime()+” WIDTH=”+width+” HEIGHT=”+height+ “ VSPACE=5></A>”);

</SCRIPT>z </CENTER>

</BODY>

</HTML

zThis is to request a new image in push mode. The page number of the argument is added for nullifying the cache.

Camera Operation

CGI functions related to camera operation

The WV-CS654 and CS854 (optional) can be operated by using the following commands.

The following commands can be selected at a time. (Example: PAN and TILT can be operated in a combined manner.)

CGI item

URL

Parameter name

Parameter

Parameter

 

 

 

 

 

Camera

/cgi-bin/camctrl

CHSEL

1-4

Selecting a video channel

control

 

 

 

Random Camera mode: Enabled

 

 

 

 

Multi Camera/Fixed Camera mode: Disabled

 

 

 

 

 

 

 

CH

1-4

Selecting a camera to be controlled in the Multi

 

 

 

 

Camera mode

 

 

 

 

Random Camera and Fixed Camera modes are

 

 

 

 

ineffective even if they are selected, and com-

 

 

 

 

mands are applied only to the CH displayed.

 

 

 

 

 

 

 

PRESET

0-64

0: Calling a home position

 

 

 

 

1 to 64: Calling a preset position

 

 

 

 

 

 

 

PAN

–10-10

PAN & STOP

 

 

 

 

Negative: Left, Positive: Right

 

 

 

 

The moving distance is in proportion to their

 

 

 

 

absolute values.

 

 

 

 

 

 

 

TILT

–10-10

TILT & STOP

 

 

 

 

Negative: Down, Positive: Up

 

 

 

 

The moving distance is in proportion to their

 

 

 

 

absolute values.

 

 

 

 

 

 

 

ZOOM

–10-10

ZOOM

 

 

 

 

Negative: Wide, Positive: Tele

 

 

 

 

Zooming ratio is in proportion to their absolute val-

 

 

 

 

ues.

 

 

 

 

 

 

 

ATPAN

on, off

Turning ON/OFF of auto pan

 

 

 

 

 

 

 

AF

on

Auto Focus

 

 

 

 

 

 

 

FOCUS

–10-10

Focus

 

 

 

 

Negative: Near, Positive: Far

 

 

 

 

Focusing ratio is in proportion to their absolute val-

 

 

 

 

ues.

 

 

 

 

 

 

 

IRIS

–10-10

Iris

 

 

 

 

Negative: Close, Positive: Open, 0: Reset

 

 

 

 

The iris-opening ratio is in proportion to their

 

 

 

 

absolute values.

 

 

FILE

file name

Specifies the file name when the user wants to dis-

 

 

 

 

play a different image after performing a camera

 

 

 

 

control operation. If the parameter is omitted, the

 

 

 

 

image displayed on the screen is not changed.

74

Page 74
Image 74
Panasonic WJ-NT104 Camera Operation, Html Sample File nsmainview1.html, CGI functions related to camera operation