Versions Compared

Key

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

...

Method arguments:

msgevent - Required argument. The event sent to the system. It takes the following values:   MsgObject objects created earlier in the script.

...

Info
titleNote

 While executing this script, the analog output 1 of the Video Capture Device 2 is not disabled.


Code Block
languagejavascript
 if (Event.SourceType == "ARCH" && Event.SourceId == "1" && Event.Action == "ACTIVE ")
{
 var msgevent = CreateMsg();
 msgevent.SourceType = " GRABBER ";
 msgevent.SourceId = "2";
 msgevent.Action = "MUX1_OFF";
 NotifyEvent(msgevent);
}

...