|
| WX22 - Automated Procedure Mechanism |
| Iniciado por guest, 19,may. 2018 03:36 - 2 respuestas |
| |
| | | |
|
| |
| Publicado el 19,mayo 2018 - 03:36 |
Hi All
I am trying to get my head around and debug the automated procedure mechanism. I am using it is a timer/scheduler procedure. I have had a close look at the help file and it is as clear as mud to me. All I am wanting to do is make sure that the procedure is not automatically called again until it has completed one of the calls. The procedure is set to trigger every two minutes. So if a call to the procedure takes longer to execute than two minutes I do not want the procedure to be called until it is complete. There must not be more than one automatic call to the procedure at a time. Suspend all calls to the procedure until an active call has been completed.
What are the settings for that?
I hope that makes sense.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,mayo 2018 - 05:04 |
Seems to be sorted - revisited ICL's previous advice to control it with a global variable and all seems fine now.
Cheers André |
| |
| |
| | | |
|
| | |
| |
| Publicado el 19,mayo 2018 - 12:42 |
Hi André
What yo are trying to do is best achieved with the TIMERSYS function... nstead of using the UI setting, you manage a timer by code, and in the first line of the procedure, you inactivate it, just to reactivate it at the end of your code, with total control...
Best regards |
| |
| |
| | | |
|
| | | | |
| | |
|