Go to documentation repository
Page History
...
Example. When the Backup Archive 1 module starts archiving video recordings, the analog output 1 of the Video Capture Device 2 is disabled. Send the command as an event to be registered in the Event Viewer.
| Info | ||
|---|---|---|
| ||
When When running this script, the analog output 1 of the Video Capture Device 2 is not disabled. |
| Code Block | ||
|---|---|---|
| ||
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);
} |
Overview
Content Tools