Important: You do not have the latest version of CIMPLICITY! You are missing out on the newest capabilities and enhanced security. For information on all the latest features, see the CIMPLICITY product page. For more information on upgrades, contact your GE Digital sales agent or e-mail GE Digital Sales Support. For the most up-to-date documentation, go here.
Acquire, Release (statements)
About this task
Note: In the Basic Control Engine, when an event occurs, the script is started in parallel. If another event triggers the same script before the script ends, two scripts will be running in parallel. The Acquire and Release routines can be used to modify this behavior. Two options are available.
Procedure
Serialize the processing. In this case, the second instance of the script waits until the first is complete and then begins execution. This is accomplished by placing an acquire statement at the start of the script.
Skip processing. In this case, the second instance of the script exits without performing any processing. The example in Acquire (FUNCTION) illustrated this.