*holdPosition

Configuration Article | CA-20220907-TP-15

VDG Sense | API | Functions | Camera Control

This function is deprecated. To stop dome movement, the function setRelativePosition should be used with the value zero (0) for all PTZ-parameters.

This command can be issued to selectively stop dome control. All values are optional, when not supplied, or the value is zero (0), the current value is maintained

Request

command=holdPosition&serverid=[UID]&cameraid=[UID]&pan=[0|1]&tilt=[0|1]&zoom=[0|1]&focus=[0|1]&iris=[0|1]

parameter

type

remarks

 

parameter

type

remarks

 

serveid

[UID]

unique server id.

 

cameraid

[UID]

unique camera id

 

pan

[0

1]

0 means do nothing, 1 means stop pan changing

tilt

[0

1]

0 means do nothing, 1 means stop tilt changing

zoom

[0

1]

0 means do nothing, 1 means stop zoom changing

focus

[0

1]

0 means do nothing, 1 means stop focus changing

iris

[0

1]

0 means do nothing, 1 means stop iris changing

Response

error code

description

remarks

error code

description

remarks

0

Ok

Ok, no error

-2

No device

No device found for the supplied cameraid/deviceid

-18

General error

An undefined error occured

-19

No dome

Ok, no erro

-21

Device no active

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

 

Related pages