triggerEventWait()
The function triggers a specific event and waits for the execution of the event.
Synopsis
int triggerEventWait(string|function_ptr event, ...);
Parameters
Parameter | Description |
---|---|
event | Name of the event or function_ptr to the event that is triggered. |
... | Arguments that are expected by the event. |
Return value
-1 in case of an error and 0 in case of success.
Errors
Missing or incorrect arguments.
Description
The function triggerEventWait() allows to trigger a specific event inside of your code and wait for the corresponding execution. This can either be a custom event created by using the Object Oriented Panel References or any event predefined by WinCC OA.
Assignment
OOP
Availability
CTRL