Versions Compared

Key

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

SLAVE Computer

DISPLAY Display

Formats

Format of events procedure for the Computer object:

...

  1. Show first display on the CLIENT computer when activating the first time zone.

    Code Block
    OnEvent("TIME_ZONE","1","ACTIVATE")
    {
        DoReact("DISPLAY","1","ACTIVATE","macro_slave_id< CLIENT >");
    }
  2. There are two displays, the first one shows the virtual monitor with cameras, the second one shows the Map object with the FSA sensors. When a camera alarm is triggered, Display 1 is shown, when a sensor alarm is triggered, Display 2 is shown, but only on the CLIENT computer.
    Code Block
    OnEvent("CAM",N,"MD_START")
    {
        DoReact("DISPLAY","2","DEACTIVATE","macro_slave_id<CLIENT>");
        DoReact("DISPLAY","1","ACTIVATE","macro_slave_id<CLIENT>");
    }
     
    OnEvent("FSA_ZONE",M,"ALARM")
    {
        DoReact("DISPLAY","1","DEACTIVATE","macro_slave_id<CLIENT>");
        DoReact("DISPLAY","2","ACTIVATE","macro_slave_id<CLIENT>");
    }