PROFINET Device4.2.0
 
Loading...
Searching...
No Matches

◆ PN_API_IOD_new()

PN_API_IOD_Handle_t * PN_API_IOD_new ( void  )

Creates Profinet API handle.

This handle is an identifier for the Profinet API instance created. It can be given as a parameter to all API function calls that follow afterwards.

Returns
API handle as PN_API_IOD_Handle_t.
Example
#include "pn_api_iod_handle.h"
pnHandle = PN_API_IOD_new();
PN_API_IOD_Handle_t * PN_API_IOD_new(void)
Creates Profinet API handle.
struct PN_API_IOD_Handle PN_API_IOD_Handle_t
API handle instance which holds IO device's info.
Definition pn_api_iod_types.h:61