• 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

    Multiple Set points on one Event Handler

    User help
    3
    8
    1.6k
    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.
    • H
      hayden_AUS
      last edited by

      Hi,

      What would be the best way to set multiple points from ONE Event Handler?
      I want to activate more than one valve from the Advanced Scheduler.

      On the set point TAB, is is only possible to set ONE point. Do I have to run script?
      There is no clarification in the help file on this or external context points.

      Hayden
      AU

      CraigWebC 1 Reply Last reply Reply Quote 0
      • MattFoxM
        MattFox
        last edited by MattFox

        Under event handlers, I'm not sure if the legacy view is required (Don't know what version you are using) you can create an event handler to fire based of an event you create. In this instance, a scheduled event. When it fires you should have a script option to fire. You should be able to set multiple points with that. Alternatively, set the handler to set a point and use that as a context point to fire a scripting data source. Then you can set and modify points as you see fit, complete with calculations and point lookups etc.

        Fox

        Do not follow where the path may lead; go instead where there is no path.
        And leave a trail - Muriel Strode

        1 Reply Last reply Reply Quote 0
        • CraigWebC
          CraigWeb @hayden_AUS
          last edited by

          @hayden_aus
          Having multiple targets would be a nice feature tho. currently, you will have to add the extra points and set them to your desired value in the script. with key.set(True)

          MattFoxM 1 Reply Last reply Reply Quote 0
          • H
            hayden_AUS
            last edited by

            Hi Craig,

            You don't know where I can find out more about "Keys".

            I see reference in Event handlers, as well as the scripting data source.

            Haven't had to use them before. No mention in the scripting help.

            1 Reply Last reply Reply Quote 0
            • CraigWebC
              CraigWeb
              last edited by

              @hayden_AUS any point that is added to the external context requires a key(variable name).
              0_1564391480776_Screen Shot 2019-07-29 at 11.10.56.png
              you can now use this point in the script by referencing its key.

              You can then see what attributes methods are available to you on this point by scripting:
              print(myVar.help) and clicking validate.

              0_1564391693687_Screen Shot 2019-07-29 at 11.14.07.png

              1 Reply Last reply Reply Quote 0
              • H
                hayden_AUS
                last edited by

                Got it, I'm used to the V2 interface, thanks.

                1 Reply Last reply Reply Quote 0
                • CraigWebC
                  CraigWeb
                  last edited by

                  No problem, let me know if you don't come right.
                  The V3 event handler interface has quite a nice enhancement which allows you to create one event handler and assign it to multiple event detectors. In the V2 interface, each event detector required its own event handler. This is great for when you have hundreds of alarm notifications.

                  1 Reply Last reply Reply Quote 0
                  • MattFoxM
                    MattFox @CraigWeb
                    last edited by

                    @craigweb said in Multiple Set points on one Event Handler:

                    set them to your desired value in the script. with key.set(True)

                    Just an FYI.... you mean key.set(true); not 'True'

                    Do not follow where the path may lead; go instead where there is no path.
                    And leave a trail - Muriel Strode

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