Go to documentation repository
The NotifyEvent method generates system events. The generated event is sent to all kernels connected to the local kernel. The event is specified using the MsgObject object.directly to the kernel on which the object is registered, and not to the entire system. In the NotifyEvent method, the event is specified by the MsgObject object (see The MsgObject and Event objects and their built-in methods and properties).
Syntax for method invocation:Method call syntax
Code Block | ||
---|---|---|
| ||
function NotifyEvent(msgevent : MsgObject) |
Method arguments:
...
...
...
Info | ||
---|---|---|
| ||
Two types of system messages are available in Axxon PSIM system: events and reactions. The events usually contain some information and are used as notifications sent to all Axxon PSIM kernels connected to each other during the system architecture configuration. The reactions are the control commands sent to specific objects. The reactions are transmitted only to the kernel where on which the object belongsis registered, and not to the whole entire system.The The DoReactStr and DoReact methods are used to generate reactions. The NotifyEventStr and NotifyEvent methods are used to generate events. |
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 Events LogEvent Viewer.
Info | ||
---|---|---|
| ||
While executing When running this script, the analog output 1 of the Video Capture Device 2 is not disabled. |
...