*setRelativePosition

Configuration Article | CA-20220907-TP-18

VDG Sense | API | Functions | Camera Control

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

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

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.

 

Related pages