VIVOTEK
User's Manual - 227
Return Code
Description
400 Bad Request
Request is rejected because some parameter values are illegal.
415 Unsupported Media Type
Returned, if forcechk appears,when minsft is not achievable or the timeshift
feature of the target stream is not enabled.
Remote Focus
Note:
This request requires Administrator privileges.
Method:
GET/POST
Syntax:
http://<
servername
>/cgi-bin/admin/remotefocus.cgi?function=<value>[&direction=<value>]
[&position=<value>][&steps=<value>][&iris]
PARAMETER
VALUE
DESCRIPTION
function focus,
auto,
scan,
stop,
positioning,
irisopen,
irisenable,
resetfocus,
getstatus
Function type
focus – Move focus motor
auto – Perform auto focus
scan – Perform focus scan
stop – Stop current operation
positioning – Position the motors
irisopen – Open iris. It will maintain this status until sending irisenable
cgi.
irisenable – Not open iris
resetfocus – reset focus motor to default valuegetstatus–Information
of motors, return value as below:
remote_focus_focus_motor_max: Maximum steps of focus motor
remote_focus_focus_motor_start: Start point of effective focal length
remote_focus_focus_motor_end: End point of effective focal length
remote_focus_focus_motor: Current position of focus motor
remote_focus_focus_enable: Current function of focus motor
remote_focus_value_mode: Source of focus value. 0: ISP, 1: Edge.
remote_focus_iris_open: The current status of iris. 0: irisenable, 1:
irisopen
direction direct,
forward,
backward
Motor’s moving direction.
It works only if function= focus.