Documentation for Axxon PSIM 1.0.0-1.0.1.

Previous page Example with Telegram bot  Appendix 1. Description of the Editor-Debugger utility Next page


Activating one filter

Example. In the Event Viewer, activate Filter 1 for Event viewer 1 using Macro 1.

if(Event.SourceType == "MACRO" && Event.SourceId == "1" && Event.Action == "RUN") 
{
DoReactStr("EVENT_VIEWER","1","SET_FILTERS","filter0<Filter 1>");
}

Activating multiple filters

Example. In the Event Viewer, activate Filter 1, Filter 3, and Filter 5 for Event viewer 1 using Macro 4.

if(Event.SourceType == "MACRO" && Event.SourceId == "4" && Event.Action == "RUN") 
{
DoReactStr("EVENT_VIEWER","1","SET_FILTERS","filter0<Filter 1>,filter1<Filter 3>,filter2<Filter 5>");
}


  • No labels