Versions Compared

Key

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

You can use programming with the help of scripts if Axxon PSIM interface settings of objects or Macros capabilities aren’t enough to implement any operating scenario of Axxon PSIM. For more details about interactions between objects, see the table below.

There are two options for writing scripts in Axxon PSIM:

  1. In the embedded programming language. You can use the Program system object of the Programming tab—see The Program object. Programming using the embedded language of Axxon PSIM.

  2. In the JScript language. You can use the Script system object of the Programming tab—see The Script object. Programming using the JScript language.

Both options work, but the Program object is deprecated and is no longer developed. We recommend using the Script object and the JScript language to write scripts.

This guide had the following information:

  • description of the settings for both objects,
  • syntax of the scripts and their debugging,
  • examples of scripts for each language.

The scripts use:

Purpose of Axxon PSIM software

Axxon PSIM software is designed for the deployment of industrial scalable, flexible (adjustable) integrated security systems, based on the digital video surveillance and audio monitoring systems.

Axxon PSIM software has the following basic features:

  1. Integration of digital video surveillance and audio monitoring systems with the existing data systems, various security equipment, third-party software, using integrated open interfaces of the data exchange.
  2. Compatibility with diverse security devices and data systems, in particular, with the fire and security alarm and access control systems, video surveillance cameras, data analysis systems and systems for recognition of objects (events) and identification by their images.
  3. Single-source registration and processing of events, generation of notifications and controlling response in compliance with the flexibly modified logics.
  4. Ultimately unlimited capabilities for scaling, solutionspecific adjustments, re-distribution of resources with changes in the number or quality of tasks in monitoring protected facilities and operating various equipment.

...

Methods of setting

logical interactions between objects in Axxon PSIM

Axxon PSIM capabilities are functionality is based on logical interactions between objects. General information on ways methods of setting logical interactions are represented in the table: 

Method of setting logical interaction

Description

Implementation

Example

Setting panels of system objects

Base Basiс configuration of interaction between system objects

Implemented using functionality of system objectssee Administrator's Guidesee Axxon PSIM configuration and setup

Configuring video displaying display from the Camera in the Monitor box interface window

Macro

Configuration of simple interactions between objects if their functionality can not perform the required actionsbasic object settings are insufficient

Implemented using the Macro objectsee Administrator's Guidesee Creating and using macros

Enabling actuator (relay) when sensor is closed

Program

Configuration of complex interactions between objects if functionality of the Macro object cannot perform the required actionsis insufficient

Implemented using the Program object as the code in the embedded programming language see this guideof Axxon PSIMsee The Program object. Programming using the embedded language of Axxon PSIM

Return PTZ cameras to their original position and take a photo Reset PTZ cameras and snapshot every 15 minutes

Script

Implemented using the Script object as JScript codesee The Script object. Programming using the JScript language

Purpose and structure of the guide

...

...

Programming in Axxon PSIM enables automatic system control by setting up complex logical interactions between objects.

The guide contains the information on:

...