PTZ_TOUR_NAME

 

Description

Set or get the name of a specific PTZ tour group.

Input Argument

n
where n is the group ID from 1 to 10.

n,name
Input Argument Description
n Index of the tour group.
When it is 0, the active tour group is the target tour group of this URL. If there is no active tour group (camera is not in touring mode), the tour group 1 is the target tour group of this URL.
when it is in the range between 1 to 10, the target tour group of this URL is assigned by it.
tour name The name of tour group. The maximum length of it is 31 characters. The characters after the 31th characters will be dropped by firmware.
The allowed characters and rules are defined in the General rules of Valid Characters in URI.

Attribute

Return of Message

PTZ_TOUR_NAME='1,This is tour group 1'
or
ERROR: invalid parameters (if the tour group ID is out of range)

OK: PTZ_TOUR_NAME='1,This is tour group 1'
or
ERROR: PTZ_TOUR_NAME='1,Tour group 1' (invalid setting in group name)
or
ERROR: invalid parameters (if the tour group ID is out of range)

Applicability

Status

Valid

See Also

PTZ_PRESET_SET, PTZ_PRESET_GET, PTZ_PRESET_GO, PTZ_TOUR_SET, PTZ_TOUR_GET, PTZ_TOUR_STATE, PTZ_TOUR_SCAN, PTZ_PARK_CONFIG

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PTZ_TOUR_NAME=1,Tour Group 1
or
http://ip:port/cgi-bin/cmd/encoder?PTZ_TOUR_NAME=1,Tour Group 1

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PTZ_TOUR_NAME=4
or
http://ip:port/cgi-bin/cmd/encoder?PTZ_TOUR_NAME=4 or
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&PTZ_TOUR_NAME or
http://ip:port/cgi-bin/cmd/encoder?PTZ_TOUR_NAME

Back to

HOME, ENCODER CGI