Hi, I have the following 2 timers in my protocol.xml. Both timers trigger a QAction, but the slow timer always needs to be the first to start on element startup. How can achieve this?
I tried to use the initial=false attribute, but I do not know how to then start the timer.
<code class="lang-ruby: language-none"> </code><Timer id="2"> <Name>Slow Timer (1d)</Name> <Time initial="random=0:300">86400000</Time> <Interval>75</Interval> <Content> <Group>2</Group> </Content> </Timer> <Timer id="3"> <Name>Quick Timer (5m)</Name> <Time initial="false">300000</Time> <Interval>75</Interval> <Content> <Group>3</Group> </Content> </Timer>
Dieter Pappens [SLC] [DevOps Member] Selected answer as best 11th February 2025
Hi Dieter,
You can use a start action to start the timer. Please see the documentation: https://docs.dataminer.services/develop/devguide/Connector/Actions/ActionStart.html
Dieter Pappens [SLC] [DevOps Member] Selected answer as best 11th February 2025