Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Sends a dome to a relative position. All values are optional. When not supplied, the current value is maintained. The values range from -1000 to 1000. The value determines the speed relative to the maximum speed the dome can handle. To stop a specific dome movement (pan, tilt, zoom, focus or iris), supply a value of zero (0) for that parameter.

Request

command=setRelativePosition&serverid=[UID]&deviceid=[UID]&pan=[-1000..1000]&tilt=[-1000..1000]&zoom=[-1000..1000]&focus=[-1000..1000]&iris=[-1000..1000]

parameter

type

remarks

serverid

[UID]

unique server id.

deviceidĀ 

[UID]

unique deviceĀ id

pan

[-1000..1000]

-1000 to pan left, 1000 to pan right.

tilt

[-1000..1000]

-1000 to tilt up, 1000 to tilt down.

zoom

[-1000..1000]

-1000 to zoom out, 1000 to zoom in (at max speed).

focus

[-1000..1000]

-1000 to focus out, 1000 to focus in (at max speed).

iris

[-1000..1000]

-1000 for smaller iris, 1000 for bigger iris (at max speed).

Response

error code

description

remarks

-2

No device

No device found for the supplied cameraid/deviceid.

-18

General error

An undefined error occured

-19

No dome

The device is not a dome device.

-21

Device not active

The device is not active in the current profile and cannot produce any results.

  • No labels