Question:
How can I create a delay in Elipse E3 to execute a command via scripts after a certain time?
Solution:
To create a delay in Elipse E3, use a Counter Tag. Follow the procedures below, which show how to apply a delay to a command script:
- On the command line executing the script, pass the tag’s Enabled property to “true” (1) to start the count.
- In the Counter Tag’s OnPreset event, insert the script command to be executed.
- At the end of OnPreset event’s script, pass the tag’s Enabled property to “false” (0) to stop the count and then resume it from a new command.
The sample application below shows all the resources described in this article.