EtherCAT Slave  1.06.01

◆ EC_API_SLV_getSwVersion()

char* EC_API_SLV_getSwVersion ( 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 software version.
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
char* swVersion = NULL;
// the Call
swVersion = EC_API_SLV_getSwVersion(S_ecSlvApiHdl);
See also
EC_API_SLV_setSwVersion
EC_API_SLV_getSwVersion
char * EC_API_SLV_getSwVersion(EC_API_SLV_SHandle_t *pEcSlaveApi_p)
Get serial number.
Definition: ecSlvApi_ParamStub.c:1006
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