LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.SetEventFilterGlobalStatus - Enable or disable globally the event filter function

LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.


value = lp.SetEventFilterGlobalStatus(flag)


The lp.SetEventFilterGlobalStatus LUA function enable or disable globally the event filter function.


flag             A boolean value          

0 enable

1 disable

Warning : The check box of the filter windows is not autoamtically refreshed after this change.

Return Values

value : value 1 if the filter is modified

Return nil if an error occurs.


lua logoLoriotPro WEB site Documentation scripting LoriotPro
Extensions du language LUA

Table des matières    Liste de fonctions

Imprimer la page en cours Mail this  link UTUBE Channel

The lp.SetEventFilterGlobalStatus function allows you to change programmatically the status of the Event checkbox below:

disable event filter loriotpro

The LUA code :


value = lp.SetEventFilterGlobalStatus(0);  

lp.Print("result :", value,"\n");


 disable event filter loriotpro

 After execution and refresh

disable event filter loriotpro