Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Section
Column
width50%
Panel
borderColor#CCCCCC
bgColor#FFFFFF
titleBGColor#F0F0F0
borderStylesolid
titleOn the page:

Table of Contents
 


Column



Creating test events

The Editor-Debugger utility You can use test events specified by the user and generated by the utility to debug scripts in the Editor-Debugger utility. Test events are not aren't registered by the video surveillance system, it which means they aren't displayed in the Event Viewer event viewer and aren't saved recorded to the database.

No You can create no more than one test event can be created for each script.

To create a the test event, do the following:

    In the
  1. Select the Edit test event command in the Debug and edit menu
  2. , select Edit test event, or click
  3. . You can also open this panel by clicking the Image Modified button in the toolbar.
  4. The Test message window will openopens. This window is used for entering to enter the parameters of a the test event.
  5. Enter the following information in In the fields of the the Test message window, enter the following:
    1. SourceType—system object type;
    2. SourceId—system object identification number;
    3. SourceActionevent generated by the specified system object;
    4. paramadditional event parameters;
    5. valuevalues of the additional parameters.
      Info
      titleNote

      The main system objects, their events and parameters are described in Description of events and reactions of system objects. You can also get them using the ddi.exe utility (see Getting the list of system names of objects, reactions and events in Axxon PSIM).

  6. When you filled fill in the fields of the the Test message window, click the OK button.

The process of creating the test event is now createdcomplete.

The created After you create the test event will be , it is displayed in the the Event field in a the special string format.

The figure below shows the test event Arm Camera 111 Run Macro 1.

Running a script with

...

the test event

To You can run the script with a the test event , do in one of the following ways:

  1. Click the Test run button located in the utility toolbar.In
  2. Select the Test run command in the Debug and edit menu
  3. , select Test run
  4. .
  5. In the
  6. Select the Test run with a debugger command in the Debug and edit menu
  7. , select Test run in third-party debugger
  8. .

When you select the run the script using the Test run in third-party debugger optionwith a debugger command, the third-party debugger starts to run the test running (see Using third-party debugger programs).

The results of the verification and script execution of the script are displayed in the corresponding debugging window debug window of the the Editor-Debugger utility.