Sony SNT-V304 Home Theater System User Manual


 
47
z Pan Tilt and Zoom Control and Preset Position
To control the Pan, Tilt, and Zoom behavior of a Sony
camera, the following PTZ control URL is used.
Method: GET/POST
Syntax: control PTZ behavior
http://<
servername
>/cgi-bin/
control?<
parameter
>=<
value
>[&<
parameter
>=
<
value
>... ]
with the following meanings
<parameter>=<value>
port=<int>
camera=<int>
hsrcamera=<int>
whoami=<string>
move=<string>
pan=<float>
tilt=<float>
zoom=<int>
rpan=<float>
rtilt=<float>
rzoom=<float>
rfocus=<float>
Values
1, 2
1 .. 4
1..16
<any
value>
home
up,
down,
left,
right,
upleft,
upright,
downleft,
downright
-180.0 - 180.0
-180.0 - 180.0
1 - 999
-360.0 - 360.0
-360.0 - 360.0
-999 - 999
-999 - 999
Description
The COM port is selected with this
parameter. If omitted, the camera
parameters is used.
Selects the source camera. If
omitted, the default camera is used.
Selects the HSR camera if HSR is
used.
Returns the name of the configured
driver.
Moves the device to the home
position for Visca.
Moves the device to preset position
home1, home2, home3 or home4 for
Kalatel.
Moves the device approx. 5 degrees
in the specified direction for Visca.
Moves the device in the specified
direction for Kalatel.
Pans the device relative to the
centre position.
Not used for Kalatel.
Tilts the device relative to the
centre position.
Not used for Kalatel.
Zooms the device n steps relative to
the wide position.
Not used for Kalatel.
Pans the device relative to the
current position.
Tilts the device relative to the
current position.
Moves zoom. Positive values
means zoom in and negative values
means zoom out. Only used for
Kalatel.
Moves focus. Positive values means
focus near and negative values
means focus far. Only used for
Kalatel.
Example: Move camera 1 to home position
http://myserver/cgi-bin/
control?camera=1&move=home
Example: Move HSR camera 12 to a preset position
named ‘door’
http://myserver/cgi-bin/
control?port=2&hsrcamera=12&gotopresetpos=door
Note: If “gotoserverpresetname=” is used in the
request, all the other parameters will be ignored except
port=” and “camera=”.
<parameter>=<value>
riris=<float>
focusrel=<string>
irisrel=<string>
zoomrel=<string>
auxiliary=<string>
setserverpresetname=
<string>
gotoserverpresetname=
<string>
speed=<int>
Values
-999 - 999
far,
farmore,
near,
nearmore
open,
close,
openmore,
closemore
tele,
wide
<function
name>
<preset
name>
<preset
name>
1 - 999
Description
Moves iris. Positive values means
iris open and negative values means
iris close. Only used for Kalatel.
Adjusts the focus gradually. Only
used for Kalatel.
Adjusts the iris gradually. Only
used for Kalatel.
Adjusts the zoom gradually.
Activates/deactivates auxiliary
functions of the device where
<function name> is the name of the
device specific function. Only used
for Kalatel.
Associates the current position to
<preset name> as a preset position
in the server.
Move to the position associated
with the <preset name>.
Sets the head speed of the device
connected to the specified camera.
Not used for Kalatel.