Camera operation, Cgi functions related to camera operation, Html sample file [nsmainview1.html – Panasonic WJ-NT104 User Manual

Page 74

Advertising
background image

74

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.

file name

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>

</CENTER>

</BODY>

</HTML

z

z This 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

control

/cgi-bin/camctrl

CHSEL

1-4

Selecting a video channel

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

FILE

–10-10

Iris
Negative: Close, Positive: Open, 0: Reset
The iris-opening ratio is in proportion to their
absolute values.

Advertising