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

◆ EC_API_SLV_setSwVersion()

uint32_t EC_API_SLV_setSwVersion ( EC_API_SLV_SHandle_t pHandle,
char *  pSoftwareVersion 
)

Set device Software Version.

Set device Software Version. Compulsory to use it, required by the Object Dictionary

Parameters
[in]pHandleThe pointer to the EtherCAT API instance.
[in]pSoftwareVersiondevice software version.
Returns
uint32_t Returns the API error code.
Example
#include <ecSlvApi.h>
// required variables
uint32_t retVal = 0;
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
// the Call
retVal = EC_API_SLV_setSwVersion(S_ecSlvApiHdl, "1.0");
uint32_t EC_API_SLV_setSwVersion(EC_API_SLV_SHandle_t *pHandle, char *pSoftwareVersion)
Set device Software Version.
Definition ecSlvApi_param.c:465
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setHwVersion, EC_API_SLV_getSwVersion