Versions Compared

Key

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

...

Code Block
languagejavascript
 if (Event.SourceType == "GRELE" && Event.SourceId == "1" && Event.Action == "ON")
{
  //activating the Camera 1 window
  DoReactStr("MONITOR","1","ACTIVATE_CAM", "cam<1>");  
  //printing the frame from Camera 1
  DoReactStr("MONITOR","1","KEY_PRESSED","key<PRINT>");
  //activating the Camera 2 window
  DoReactStr("MONITOR","1","ACTIVATE_CAM", "cam<2>");
  //printing the frame from Camera 2
  DoReactStr("MONITOR","1","KEY_PRESSED","key<PRINT>");
}