Hello,
is it possible to raise an event via a event id or event pointer?
The only way that I see so far is to use the generated C-Code "event raise wrapper function".
For example I can use the generated function sm_codegen__raise_aPPLICATION_LOADED(&s_state_machine_hdl); to raise the external event EXT_EVENT.APPLICATION_LOADED.
The following screenshot shows what I like to approach.
1. Call an external function (CALL_ASYNC_FUNCTION.load_application) with an event pointer or event id? to the event EXT_EVENT.APPLICATION_LOADED
2. Execute the function asynchron in a worker thread.
3. As soon as the function finishes it should raise the commited event EXT_EVENT.APPLICATION_LOADED
If the standard edition doesn't provides the needed features, is it possible to use the professional version to accomplish this task?
One advantage of the professional version should be that I could call already existend C-functions / operations (included via a C-header) directly and without the usage of the "wrapper functions"? Can someone confirm that?
Thanks for the help in advance and best regards,
Joerg
