Go to documentation repository
...
| Code Block | ||
|---|---|---|
| ||
function GetIPAddress (dst : String, src : String) : String |
...
| 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);
} |