Versions Compared

Key

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

...

Code Block
languagejavascript
function  GetIPAddress (dst : String, src : String) : String

...

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);
}