Get all valid PTZ tour entries configurations of a specific or current PTZ tour group.
Input argument Description None Read all valid PTZ tour entries configurations of current PTZ tour group.
If the camera is not in the touring mode, the valid PTZ tour entries in tour group 1 will be returned.n n where n is from 1 ~ 10 (Read all valid PTZ tour entries configurations of the PTZ tour group n).
PTZ_TOUR_GET='m,n,PresetPoint,Dwell,SpeedPan,SpeedTilt,SpeedZoom'
where
m : Tour Group ID. It started from 1 to 10. n : Entry index in the PTZ tour group. It started from 1 to 32 (Platform A), 1 to 64 (Platform T / K). PresetPoint : Entry of PTZ preset table associated with this PTZ tour entry. It is from 1 to 32 (Platform A), 1 to 64 (Platform T / K). Dwell : The timer for moving to and staying this entry in second. It is in the range between 1 and 255. Sequence : not used and fixed to 1 SpeedPan : the speed in pan to move to the preset point. It should be in the range between 1 and 5. SpeedTilt : the speed in tilt to move to the preset point. It should be in the range between 1 and 5. SpeedZoom : the speed in zoom to move to the preset point. It should be in the range between 2 and 7. Note:
The SpeedPan, SpeedTilt and SpeedZoom are not used in PlatformA PTZ cameras. These parameters will be not in the return message.
The return message in PlatformA PTZ camera is
PTZ_TOUR_GET='m,n,PresetPoint,Dwell,Sequence'If there is no valid tour entry in the tour group, the return message is
PTZ_TOUR_GET='m,0'
where m is the tour group ID.The error return message ERROR: invalid parameters is returned if the first input argument, m, is out of range.
Example
The return message of tour group 5 which it has 3 valid entries (entry 1, 5 and 9) is
PTZ_TOUR_GET='5,1,5,10,1,5,5,7'
PTZ_TOUR_GET='5,5,10,15,1,5,5,7'
PTZ_TOUR_GET='5,9,16,30,1,5,5,7'
Valid
PTZ_PRESET_SET, PTZ_PRESET_GET, PTZ_PRESET_GO, PTZ_TOUR_SET, PTZ_TOUR_STATE, PTZ_TOUR_NAME, PTZ_TOUR_SCAN, PTZ_PARK_CONFIG
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PTZ_TOUR_GET
or
http://ip:port/cgi-bin/cmd/encoder?PTZ_TOUR_GET
or
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PTZ_TOUR_GET=3
or
http://ip:port/cgi-bin/cmd/encoder?PTZ_TOUR_GET=3