EtherCAT Slave  1.06.01

◆ EC_API_SLV_getHwVersion()

char* EC_API_SLV_getHwVersion ( 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 hardware version.
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
char* hwVersion = NULL;
// the Call
hwVersion = EC_API_SLV_getHwVersion(S_ecSlvApiHdl);
See also
EC_API_SLV_setHwVersion
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_getHwVersion
char * EC_API_SLV_getHwVersion(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get serial number.
Definition: ecSlvApi_ParamStub.c:1051