• 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

    Event handler, process trigger

    User help
    2
    3
    3.4k
    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.
    • S
      skiv71
      last edited by

      hi,

      i have a source which polls once every 60 secs...

      i have alarm limits which trigger process commands (batch file) via event handler..

      the external device which is communicated with via the batch file enters a busy state during communication.

      my scripts etc cater for this by port checking..

      problem is, due to polling, if 2 event handlers trigger at exactly the same time, neither one really gets a head start on the other, so neither sees the port busy.

      basically i cannot handle simultaneous triggers...

      is there a global setting for staggering process commands? 5 seconds should do it.

      thanks

      skiv

      1 Reply Last reply Reply Quote 0
      • M
        mlohbihler
        last edited by

        Can you use some kind of O/S-level semaphore? lockfile() maybe?

        Best regards,
        Matthew

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