Difference between revisions of "PelcoP/D"

From IPLOG
Jump to: navigation, search
(Created page with "== Pelco library == === Client === '''PELCO_P/D_GOTO_PRESET''' Send preset command to camera through Pelco P or Pelco D protocol. {| class="wikitable" |in |ADDR |UINT |Pel...")
(No difference)

Revision as of 08:40, 10 February 2021

Pelco library

Client

PELCO_P/D_GOTO_PRESET

Send preset command to camera through Pelco P or Pelco D protocol.

in ADDR UINT Pelco device id
in BUS STRING[255] RS485 bus (eg. /dev/tty3)
in BAUDRATE UINT RS485 baudrate (recommed 4800)
in PRESET UINT Pelco preset number
in TMO UINT Timeout for reading Pelco reply (0 - don't wait for reply)
out ERR BOOL indicates some error occurs
out ERR_ID WORD identifies occured error by unique code (see Error codes)
out VALID BOOL indicates success operation and valid output