UnregisterOnProfileEventDoneCallback()
Unregisters the callback function. When the event occurs, no callback function is called.
Table 7- 321 UnregisterOnProfileEventDoneCallback() - Native C++
Syntax
Parameters
Return values
7.6.10.7
OnUpdateEvent events
OnUpdateEventDone()
Registers or unregisters an event handler method.
Table 7- 322 OnUpdateEventDone() - .NET (C#)
Syntax
Parameters
Return values
Exceptions
Note
RegisterOnUpdateEventDoneCallback()
When the event occurs, the registered callback function is called. Only one callback function
can be registered for the event. Registering a new callback function causes the previous
callback function to be deleted.
Table 7- 323 RegisterOnUpdateEventDoneCallback() - Native C++
Syntax
Parameters
Return values
Note
S7-PLCSIM Advanced
Function Manual, 12/2017, A5E37039512-AB
void UnregisterOnProfileEventDoneCallback ();
None
None
event Delegate_SREC_ST_UINT32 OnUpdateEventDone;
None. See Delegate_SREC_ST_UINT32 (Page 303).
None
None
The event handler method runs in a separate thread.
•
void RegisterOnUpdateEventDoneCallback (
EventCallback_II_SREC_ST_UINT32 in_CallbackFunction
);
•
EventCallback_II_SREC_ST_UINT32 in_CallbackFunction:
A callback function that subscribes to the event.
See EventCallback_II_SREC_ST_UINT32 (Page 291).
None
The callback function runs in a separate thread.
User interfaces (API)
7.6 API IInstances
263