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

Event handler, process trigger


  • 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


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