The TELEMETRY object corresponds to the PTZ device system object.
The TELEMETRY object sends events presented in the table. The procedure is started when the corresponding event occurs.
Event | Description | Comment |
LOCKED | Locked | Event is received after the LOCK command (see the table below) |
UNLOCKED | Unlocked | Event is received after the UNLOCK command (see the table below) |
List of commands and parameters for the TELEMETRY object is presented in the following table:
Command—command description | Parameters | Description |
AUTOFOCUS_ON—enable autofocus | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
AUTOPAN_END_P—specify the end point of autopan | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
AUTOPAN_START—start autopan | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
AUTOPAN_START_P—specify the start point of autopan | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
AUTOPAN_STOP—stop autopan | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
CLEAR_PRESET—clear the selected preset | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
preset<> | Preset | |
D2OFF—disable the additional dynamic settings for Panasonic PTZ video cameras used to increase the quality of analog video signal | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
D2ON—enable the additional dynamic settings for Panasonic PTZ video cameras used to increase the quality of analog video signal | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
DOWN—rotate video camera lens down | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
FOCUS_IN—zoom in | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
FOCUS_OUT—zoom out | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
FOCUS_STOP—stop zooming in/out of image | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
GO_PRESET—rotate video camera to the position specified on the preset | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
preset<> | Preset | |
HOME—rotate video camera to the initial (home) position | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
IRIS_CLOSE—close diaphragm | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
IRIS_OPEN—open diaphragm | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
IRIS_STOP—stop diaphragm | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
LEFT—rotate video camera lens to the left | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
LEFT_DOWN—rotate video camera lens to the left and down | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
LEFT_UP—rotate video camera lens to the left and up | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
PATROL_LEARN—start procedure of patrol programming performed by recording the video camera actions | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
PATROL_PLAY—start patrolling | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
PATROL_STOP—stop patrolling | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
RIGHT—rotate video camera lens to the right | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
RIGHT_DOWN—rotate video camera lens to the right and down | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
RIGHT_UP—rotate video camera lens to the right and up | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
SET_PRESET—record the current position of video camera to the selected preset | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
preset<> | Preset | |
STOP—stop video camera lens rotation | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
UP—rotate video camera lens up | tel_prior<> | Priority (1—low, 2—medium, 3—high) |
SETUP—set up PTZ device | address<> | Device address |
cam<> | Camera ID to control | |
flags<> | Flag of object operating (0—ON, 1—OFF) | |
name<> | Object name of PTZ device | |
speed<> | Speed | |
SEND_BUFFER—send command to COM port in the hexadecimal format | buffer<> | Command in the hexadecimal format |
parent_id<> | ID of Telemetry Controller parent object. The required parameter | |
tel_prior<> | Priority (1—low, 2—medium, 3—high). The value of the parameter must be greater than 0 | |
LOCK—lock. Switch the telemetry over to the LOCKED state for a specified time | tel_prior<> | Priority (1—low, 2—medium, 3—high). The value of the parameter must be greater than 0. It is forbidden to perform control commands with a lower priority than the specified during the lock time |
duration<> | Lock duration. If the parameter is not specified, the lock is valid until the UNLOCK command is executed | |
UNLOCK—unlock. Switch the telemetry over to the UNLOCKED state for a specified time | - | - |
AUTOFOCUS_OFF—disable autofocus | tel_prior<> | Priority (1—low, 2—medium, 3—high).
|
Properties of the TELEMETRY object are shown in the table.
Properties of the TELEMETRY object | Description of the object properties |
ID<> | Object ID of the PTZ device |
PARENT_ID<> | Parent object ID |
The TELEMETRY object can be in the following states:
State of the TELEMETRY object | Description of the object state |
LOCKED—locked | Control of telemetry is locked with some priority. It is forbidden to control telemetry with a priority lower than the specified when locking (see the table above) |
UNLOCKED—unlocked | It is allowed to control telemetry with any priority |