Versions Compared

Key

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

...

  1. dst is a required argument. It specifies the name of the remote computer on which the Axxon PSIM kernel is installed. The value of the dst argument must match one of the computer names registered when configuring the architecture of the distributed video surveillance system. Possible values: String type that meets the requirements for network computer names; the range is limited to the computer names registered in the system.
  2. src is a required argument. It specifies the name of the local computer (the computer from which you run the script). The value of the src argument must match the name of the local computer as it is registered in Intellect Axxon PSIM. Possible values: String type that meets the requirements for network computer names.

...

Code Block
languagejavascript
if (Event.SourceType == "CAM" && Event.Action == "MD_START")
{
 var camid = Event.SourceId;
 var compname = GetObjectParentId("CAM", camid, "COMPUTER");
 var ip = GetIPAddress("WS1","WS1"); \\if the script is run on the computer where kernel of Axxon PSIM software has been installed
 DebugLogString("IP- address of the alarmed camera computer" + ip);
}
Info
titleNote

Instead of "WS1" in the example, you must enter the name of the computer on which you run the script is run and Axxon PSIM kernel is installed.

...