Hello,
I'm wondering if it is possible to pause a timer in a protocol for a certain amount of time? For example, if a button is clicked, the timer (or timer group) will pause for 5 mins.
Alternatively, I have seen in the docs (https://docs.dataminer.services/develop/schemadoc/Protocol/Protocol.Groups.Group.Condition.html) that you can use conditions on groups, could I simply use a manual toggle which could start/stop a timer instead?
Thanks!
Hi Carys,
You have the option to start and stop a timer using Actions (start | DataMiner Docs and stop | DataMiner Docs) based on the state change of a button or toggle button (Trigger on change of parameter: Time element | DataMiner Docs). However, it's not possible to define a specific time at which the timer should stop. That said, you can implement logic within the driver to handle a countdown if needed.
Alternatively, you can use conditions on groups linked to a toggle button. In this case, the groups will not be added to the execution queue if the condition is not met.

Small correction here, the evaluation of the condition on group will be performed when the group is executed by the group execution queue. This means that the group will always be added to the queue of the protocol thread anyway.