Disabling and enabling alarm events in a Video Surveillance System

As part of the Video Framework API, a standard mechanism allows video driver developers to enable and disable particular alarm events on particular video cameras. This means that for some video drivers, the framework can enable and disable motion detection on a per-camera basis.
Prerequisites: The videoDriver palette is open in the side bar. The video driver you are using supports this feature.
  1. If the event point is not already under the Events node, discover and add the desired alarm event point.
  2. In the Nav tree, double-click on the target alarm event point.
    The point’s Property Sheet opens.
  3. Collapse any expanded extensions and, in the palette side bar, drag the EventDetectionCtrlExt component from the videoDriver palette to the control point Property Sheet.
    The Event Detection Ctrl Ext component opens under the control point in the Property Sheet view.
  4. Select the control point Wire Sheet from the view selector.
    The EventDetectionCtrlExt displays on the Wire Sheet.
  5. Right-click on the Wire Sheet and select New > BooleanWriteable from the popup menu.
    The Name window opens.
  6. Click OK in the Name window.
    The framework adds the BooleanWritable point to the Wire Sheet.
    Image
  7. Link the Out property of the BooleanWritable control point to the Enable Detection property of the EventDetectionCtrlExt.
    The status of the Emergency Override action on the BooleanWritable control point can now enable and disable the alarm detection feature.
  8. To enable the detection mechanism in the camera for this particular event, invoke the Emergency Active action on the BooleanWritable control point.
  9. To disable the detection mechanism in the camera for this particular event, invoke the Emergency Inactive action on the BooleanWritable control point.
 NOTE: You may link any Boolean logic (such as a Boolean Schedule) from within the framework to enable and disable the event detection mechanism of a particular event for a particular camera. It does not have to just be from a BooleanWritable, as in this example.