| uint32_t PN_API_IOD_enterDbai | ( | PN_API_IOD_Handle_t *const | pnHandle | ) |
Acquires the semaphore of the IOD thread.
This function ensures that application access to shared data is safeguarded against callback functions. This precautionary measure is taken to prevent the inadvertent deletion of this data in case the AR unexpectedly terminates while the application is still utilizing it.
| [in] | pnHandle | Profinet API Handle. |
| PN_API_OK | Success. |
| PN_API_NOT_OK | Something went wrong. |
| PN_API_ERR_PARAM | Invalid parameter. |