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

◆ EC_API_SLV_getHwVersion()

uint32_t EC_API_SLV_getHwVersion ( EC_API_SLV_SHandle_t pHandle,
char **  ppHwVersion 
)

Get serial number.

Get serial number. Used by the Object Dictionary

Parameters
[in]pHandleEtherCAT API instance.
[out]ppHwVersionHardware version.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
char* hwVersion = NULL;
// the Call
hwVersion = EC_API_SLV_getHwVersion(S_ecSlvApiHdl);
uint32_t EC_API_SLV_getHwVersion(EC_API_SLV_SHandle_t *pHandle, char **ppHwVersion)
Get serial number.
Definition ecSlvApi_param.c:1222
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setHwVersion