American Dynamics ADCC1100 Manuel d'utilisateur Page 18

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 29
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 17
MEGAPOWER 3200 EXTENDED DOME/PTZ CAMERA PROTOCOL 8200-0421-23, REV. A
USER GUIDE
16 of 25
Examples
1. You want a Pelco-D camera with Address 1 (00)
to pan left at speed 0x47 (2F). The command
template string of the first 6 bytes would be:
Pan Left (Command 2): 0 0 0 0 0 1 0 0 = 04.
Template string is FF 01 00 04 2F 00
2. Another example:
Iris Open (Command 1): 0 0 0 0 0 0 1 0 = 02.
Template string is FF 01 02 00 00 00
Defining the Command String
In each command definition, the template string is
provided, which gets translated before being sent to
the camera. In this handler, the command begins
with the camera address, which is inserted using the
{camera} parameter. Each command ends with a
checksum byte using the {check} parameter. Extra
blank lines are ignored.
„Count‟ specifies a send count. The default is 1. The
command string is sent the number of times
specified. This is typically used to send stop
commands more than once to ensure the string gets
there. The code waits 100ms between sends. If set
to 0 (zero), the string is never sent. This might be
useful during debugging to disable a command
temporarily without actually deleting it.
See the example on the next page.
Vue de la page 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23 ... 28 29

Commentaires sur ces manuels

Pas de commentaire