Sony SNC-RZ30 manual Sample codes for controlling Pan, Tilt, and Zoom, Center Body Html

Page 6

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.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML LANG="EN">

<HEAD>

<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache">

<TITLE>CAMERA CONTROL</TITLE> </HEAD>

<BODY>

<CENTER>

<P><H3><B>[ PAN ]</B></H3></P>

<TABLE ALIGN="CENTER" VALIGN="MIDDLE"> <TR>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101060103030103FF"> <INPUT TYPE="SUBMIT" VALUE="LEFT "></FORM>

</TD>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101060103030303FF"> <INPUT TYPE="SUBMIT" VALUE="STOP"></FORM>

</TD>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101060103030203FF"> <INPUT TYPE="SUBMIT" VALUE="RIGHT"></FORM>

</TD>

</TR>

</TABLE>

<P><H3><B>[ ZOOM ]</B></H3></P> <TABLE>

<TR>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101040734FF"> <INPUT TYPE="SUBMIT" VALUE="WIDE"></FORM>

</TD>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101040700FF"> <INPUT TYPE="SUBMIT" VALUE="STOP"></FORM>

</TD>

<TD>

<FORM ACTION="<IP>/command/visca-ptzf.cgi" METHOD=POST> <INPUT TYPE="HIDDEN" NAME="visca" VALUE="8101040724FF"> <INPUT TYPE="SUBMIT" VALUE="TELE"></FORM>

</TD>

</TR>

</TABLE>

</CENTER>

</BODY>

</HTML>

Image 6
Contents SNC-RZ30 General description Script Head HeadScript Script Body HtmlSample codes for calling the Java applet viewer Head Body TEXT=#FFFFFF BGCOLOR=#000000Applet Head Table ALIGN=CENTER VALIGN=MIDDLE TR Sample codes for controlling Pan, Tilt, and ZoomTitlecamera CONTROL/TITLE /HEAD Body Center Center Body HtmlCGI command list for SNC-RZ30 Pan, Tilt, Zoom, and Focus Version history