EtherCAT Slave  1.06.01

◆ EC_API_SLV_getProductName()

char* EC_API_SLV_getProductName ( EC_API_SLV_SHandle_t pEcSlaveApi_p)

Get serial number.

Get serial number. Used by the Object Dictionary

Parameters
[in]pEcSlaveApi_pThe pointer to the EtherCAT API instance.
Returns
char* Returns the product name.
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
char* productName = NULL;
// the Call
productName = EC_API_SLV_getProductName(S_ecSlvApiHdl);
See also
EC_API_SLV_setProductName
EC_API_SLV_SHandle_t
struct EC_API_SLV_SHandle EC_API_SLV_SHandle_t
EC_API_SLV_SHandle_t describes the EtherCAT Slave API.
Definition: ecSlvApi.h:135
EC_API_SLV_getProductName
char * EC_API_SLV_getProductName(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get serial number.
Definition: ecSlvApi_ParamStub.c:916