• Recent
    • Tags
    • Popular
    • Register
    • Login

    Please Note This forum exists for community support for the Mango product family and the Radix IoT Platform. Although Radix IoT employees participate in this forum from time to time, there is no guarantee of a response to anything posted here, nor can Radix IoT, LLC guarantee the accuracy of any information expressed or conveyed. Specific project questions from customers with active support contracts are asked to send requests to support@radixiot.com.

    Radix IoT Website Mango 3 Documentation Website Mango 4 Documentation Website Mango 5 Documentation Website

    Unsolved Disable event handler from script

    User help
    2
    2
    766
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • shawn.hateleyS
      shawn.hateley
      last edited by shawn.hateley

      Hi everyone,

      I would like to disable an event handler based on a binary data point. Is this possible to do within Mango?

      My goal is to be able to lock out events based on the value of a binary data point. Ideally a scripting source or global script would simply say "If binary point = 0 then event handler = disabled."

      I have an ma-switch-img on a dashboard that is controlling the binary data point, so I could also toggle the event handler via the ng-click directive.

      I am running the latest version of Mango 3.7.7

      Thanks in advance for your help.

      Shawn

      1 Reply Last reply Reply Quote 0
      • D
        diesel
        last edited by

        @shawn-hateley did you ever figure out a way to do this? thanks.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post