Go to documentation repository
...
...
| Code Block | ||
|---|---|---|
| ||
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 | ||
|---|---|---|
| ||
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. |
...