selectControlByIndex

Select the PTZ device to control by index in the current show.

Address

/ptz/selectControlByIndex [index number]

Arguments

Type Description
argument 1 Int The position of the layer supporting PTZ control in the scene (from bottom to top), which can be 1, 2, 3...

Example

Select the 1st PTZ layer from bottom to top.

/ptz/selectControlByIndex 1

Note: Floating point numbers will be rounded down.

/ptz/selectControlByIndex 1.9 = /ptz/selectControlByIndex 1

Note: When the device is restarted or the show is switched, the device selection relationship will be reset. You need to reselect the device before controlling the PTZ device.

results matching ""

    No results matching ""