This documentation explains the way to display the live images in the other web site and t
customize GUI of SONY Network Camera SNC-RZ30. You can view the live images easily b
connecting the SNC-RZ30 to the network. When displaying the live images in the other web site and
customizing GUI , refer to this documentation and its sample codes.
2. Attention
The contents of this documentation stands for just the reference. When using the sample codes, the
knowledge about HTML and Java Script is needed for implementation. We take no responsibility to
any damage by the use of this at all. Moreover, this information may be changed without any
announcement for the reason of upgrading the product and so on.
Page 3
3. Providing sample codes
r
b
3.1The sample codes for calling the ActiveX viewe
The ActiveX viewer is the program which can work in the environment of Internet Explorer (ver 5.5
sp2 or higher or ver 6) on Windows 98 / 98SE / NT4.0 / 2000 / Me / XP Operating System.This is
named as the archive "SncRz30View.cab" and is located in /home/ directory in the SNC-RZ30 we
server. This chapter provides the sample codes to load the ActiveX viewer.
The sample codes are listed below and its brief introduction goes on as follows.
The ActiveX viewer the SNC-RZ30 provides with needs to get some parameters to start up, so
that there need to be some scripts as the sample codes shown in (a). By the scripts shown in
the sample codes the following parameters can be obtained.
"URL information"
This is information about the host name or IP address of the host for ActiveX to connect to.
"Mount information"
This is information how the SNC-RZ30 installs with the mount type. By this information the
ActiveX program can select its display of Motion JPEG images with the mount type as
desktop or as ceiling.
"Default frame rate information"
This is information about the frame rate of the ActiveX viewer to get Motion JPEG images.
Page 4
The function declaration to load the ActiveX viewe
r
r
s
The description as shown in (b) is needed to declare the function which is used to load the
ActiveX viewer in the Internet Explorer.
The script to load the ActiveX viewe
The description as shown in (c) is the substance of the function (b).
Supplementary 1:How to describe <IP>
<IP> is needed to be put appropriate path in. Refer to the following explanation.
(1) In the case of embedding the customized files into the SNC-RZ30 web server
When the customized web contents files are to be embedded in the SNC-RZ30 web server
by using PC card media such as Memory Stick, there need to be no specification in <IP>.
(2) In the case of embedding the files into the other web server or another usage
<IP> is needed to be put absolute path such as "http://192.168.0.100" in this case.
Supplementary2:About the background color of the web page
The background color of the web page is set to black(#000000) in the "BODY" tag in the sample
codes. If the different color code is set, the background color of the viewer and the html page
itself become different.
3.2The sample codes for calling the Java applet viewer
The Java applet viewer is the program which can work in the environment of both the Internet
Explorer and Netscape Navigator(ver 6.x and Java VM is needed to be installed in advance). This i
named as as the archive "JViewer.jar" and is located in /home/ directory in the SNC-RZ30 web
server. This chapter provies the sample codes to load the Java applet viewer.
The sample codes are listed below. Refer to the "Supplementary 1" of chapter 3.1 about the way to
describe <IP>. Regarding the background color of the viewer, black color which color code is
#000000 is preferable.
3.3The sample codes for calling the Java applet of the camera control panel
The SNC-RZ30 uses Java applet for the camera control panel to control Pan, Tilt, Zoom, and Focus.
This is named as the archive "CControl.jar" or "CControl2.jar" and is located in /home/l2/ directory in
the SNC-RZ30 web server. This chapter provides the sample codes to load the camera control
panel.
The Java applet of the camera control panel need to be selected properly by the client PC
environment. The sample codes as follows provides the way to determine which applet is to be
selected and load the appropriate applet to control the Pan, Tilt, Zoom, and Focus. Refer to the
"Supplementary 1" of chapter 3.1 about the way to describe <IP>. The sample codes use the
background color of #4B6EB6 to correspond to the color of the panel.
3.4The sample codes for controlling Pan, Tilt, and Zoom
The sample codes as follows deploy the submit buttons to control the Pan and Zoom function of the
SNC-RZ30. When realizing the CGI command base control of the SNC-RZ30 without using the
camera control panel which is built in the SNC-RZ30 web server, refer to the sample codes below.
Note : The sample codes cannot be used when the "Exclusive control mode" is set to "ON" in the
y
y
system setting page. Be sure to set the mode to "OFF".
The table 1 shows how to put in the data sequence for the <VALUE> of the CGI command. Refer to
the table to customize the pages to control Pan, Tilt, Zoom and Focus function of the SNC-RZ30.
Table1: CGI command list for SNC-RZ30 Pan, Tilt, Zoom, and Focus
Command setCommandPTZF commandComment
Auto Pan-Tilt SpeedOn81 01 06 24 02 FFAuto Pan-Tilt Speed Control ON/OFF
Pan-Tilt DriveUp81 01 06 01 vv ww 03 01 FFvv: Pan speed ww: Tilt speed
ZoomStop81 01 04 07 00 FF
FocusStop81 01 04 08 00 FF
Zoom_FocusDirect81 01 04 47 0p 0q 0r 0s 0t 0u 0v 0w FFpqrs: Zoom Position tuvw: Focus Position
Supplementary 3:About the "Auto Pan-Tilt Speed" function
The "Auto Pan-Tilt Speed" function of the SNC-RZ30 is set to "ON" as the factory default setting.
This means that the Pan and Tilt function of the SNC-RZ30 move proportionally for the
SNC-RZ30's zoom position. In this setting (with "Auto Pan-Tilt Speed" as "ON") there is no meaning
of the speed parameters (vv, ww). So when setting the speed paramters of the Pan and Tilt motion,
set the "Auto Pan-Tilt Speed" to "OFF".
Page 8
V
ersion histor
y
VersionDateComment
version 12002.8.12First issue
Loading...
+ hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.