Go to documentation repository
...
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:
...
occurs.
Event | Description | Parameter | Parameter 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 | |||
"ARMED" | VMDA detection is armed | |||
"DISARMED" | VMDA detection is disarmed |
Operator format to describe actions with the VMDA detection is:
Code Block |
---|
DoReact("CAM_VMDA_DETECTOR","_id_","_command_"); |
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 | ||
---|---|---|
| ||
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"); } |