EtherCAT SubDevice
 
Loading...
Searching...
No Matches

◆ EC_API_SLV_getProductName()

uint32_t EC_API_SLV_getProductName ( EC_API_SLV_SHandle_t pHandle,
char **  ppProductName 
)

Get serial number.

Get serial number. Used by the Object Dictionary

Parameters
[in]pHandleEtherCAT API instance.
[out]ppProductNameProduct Name.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
char* productName = NULL;
// the Call
productName = EC_API_SLV_getProductName(S_ecSlvApiHdl);
uint32_t EC_API_SLV_getProductName(EC_API_SLV_SHandle_t *pHandle, char **ppProductName)
Get serial number.
Definition ecSlvApi_param.c:1072
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setProductName
Examples
EtherCAT_SubDevice_CiA402.c, EtherCAT_SubDevice_Simple.c, and EtherCAT_SubDevice_Webserver.c.