FOCUS

Description

> Perform the focus function.

> If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

> FOCUS Command | Description
> STOP | Stop the focus action.
> FAR | Put the focus on the far end.
> NEAR | Put the focus on the near end
> AUTO | Set the focus mode to auto mode
> MANUAL | Set the focus mode to manual mode
> SWITCH | Change the focus mode from current mode to the other one (Auto -> Manual or Manual -> Auto)
> DIRECT,0xn | Put the focus to the specific position

> For PTZ IP Camera, the FOCUS=STOP should be sent after another FOCUS command had been sent.

> The focus position in this URL is from 0x0 to 0xFFFF. The PTZ camera might not have such wide range of the focus position. However, the device will NOT validate the focus position before parser and handle this URL. Please refer to the device specification to have correct focus position range.

Input Argument

> Cmd
> where Cmd could be STOP, FAR, NEAR, AUTO, MANUAL or SWITCH
> or
> DIRECT,0xn
> where n is a hexadecimal value from 0~FFFF to indicate the position of focus.

Attribute

- Write Only
- On-Fly

Return of Message

- Write Operation

> OK: echo of command
> or
> ERROR: echo of command

Applicability

- EPL Platform : All Encoders
- PlatfotmT : All Encoders
- Multi-Channel Encoder : 4CH and 16CH Video Servers

Status

> Valid

See Also

> ADDR, PTZ_VENDOR, ZOOM, ZOOM_POSITION, FOCUS_POSITION, MOVE, MOVE_LIMIT, MOVE_LIMIT_GET, MOVE_MAX_SPEED_GET, POSITION, POSITION_GET

Example

- Write Operation

> http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&FOCUS=FAR
> or
> http://ip:port/cgi-bin/cmd/encoder?FOCUS=FAR

Back to

> HOME, ENCODER CGI