This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Set a value when a widget come up
#6
Just to make it perfect: How I can make a widget pop when when some grp address is triggered?

like you made for a plan with the code  below:


$(function(){

  if (typeof objectStore !== 'undefined') {

    var id = Scada.encodeGroupAddress('1/1/2');



    objectStore.addListener(id, function(object, type) {

      if (type == 'value') {

        showPlan(69);

      }

    });

  }

});





Tnx
Reply


Messages In This Thread
RE: Set a value when a widget come up - by gdimaria - 23.03.2020, 10:24

Forum Jump: