Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The CAM_VMDA_DETECTOR object sends events presented in the table.   Procedure is started when the corresponding event appears.

Format of events procedure for the VMDA Detection object:

Code Block
OnEvent("CAM_VMDA_DETECTOR ","_id_","_event_")

occurs.

Event

Description

ParameterParameter description
"

ALARM

"

Alarm

.

native_type<>

To enable this parameter, set the following registry keys: VMDA.determineNoise, VMDA.determineGivenTaken, VMDA.determineHumanCar (see Registry keys reference guide).

Available values:

-1

unknown object type (initial state)

;

0

other

;

1

human or group of people (depending on the native_value<> parameter: if 1, human; if >1, group of people);

2

car

;

3

noise

;

4

object carried into the area

;

5

object carried out of the area

.

native_value<>

To enable this parameter, set the following registry keys: VMDA.determineNoise, VMDA.determineGivenTaken, VMDA.determineHumanCar (see Registry keys reference guide).

People counter for the "human" object type

object

. Allows determining the quantity of people in the group. For other object types it is equal to -1

."

param0<>String value containing the event parameters from the VMDA detection

ALARM_END

"

End of alarm

.

  

...



ARMEDVMDA detection is

...

armed

...



DISARMED

...

VMDA detection is disarmed

List of commands and parameters for the the CAM_VMDA_DETECTOR object is presented in the following table:

Command

command description

Parameters

Description

"

ARM

" –

arm detection

.

-

-

"

DISARM

" –

disarm detection

.

-

-

Example of using events and reactions of the VMDA Detection object:

Arm the VMDA Detection 2 while performing macro 1:


Info
titleNote

If cameras are connected using ONVIF Server, the events from the VMDA detection and other smart detection tools will be transferred as events from embedded detection tools—see CAM_IP_DETECTOR Embedded detection.

Code Block
OnEvent ("MACRO","1","RUN") { DoReact("CAM_VMDA_DETECTOR","2","ARM"); }