EVENT_RSPGO

 

Description

Get or Set the event to a preset point of PTZ camera.

When event was triggered, the camera will record its current pan, tilt and zoom positions before it moved to the preset point. Therefore, the device is capable of returning back to the position after its dwell time. In this document, the position when the event was triggered is nemed "resuemed position"

This command might conflict to the auto pan with park function. User should be care of the using senario when this function is enabled with auto pan.

This URL is available for devices which is not a PTZ camera. This URL will be treated as dummy URL then.

Input Argument

preset,dwell
where
preset: the index of the preset point. it is from 0 to 32.
  The 0 means event to preset point is disabled.
dwell: the time in second to state the preset point after event was triggered. It is from 0 to 300 seconds.
  When 0, the camera will back to its resumed position as the event was inactive immediately.
  If it is not zero, the camera will back to position before the event was triggered when the dwell time is expired.

Attribute

Return of Message

EVENT_RSPGO='0,10'

OK:EVENT_RSPGO='0,10'
or
ERROR: EVENT_RSPGO='0,10'

Applicability

Status

Valid

See Also

EVENT_CONFIG, EVENT_RSPIMGn, EVENT_RSPMSGn, EVENT_RSPCMDn, EVENT_RSPDOn

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPGO
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPGO
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&EVENT_RSPGO=6,10
or
http://ip:port/cgi-bin/cmd/encoder?EVENT_RSPGO=6,10

Back to

HOME, ENCODER CGI