EtherCAT SubDevice
Loading...
Searching...
No Matches
◆
EC_API_SLV_getProductName()
uint32_t EC_API_SLV_getProductName
(
EC_API_SLV_SHandle_t
*
pHandle
,
char **
ppProductName
)
Get serial number.
Get serial number. Used by the Object Dictionary
Parameters
[in]
pHandle
EtherCAT API instance.
[out]
ppProductName
Product Name.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
EC_API_SLV_SHandle_t
* S_ecSlvApiHdl;
char
* productName = NULL;
// the Call
productName =
EC_API_SLV_getProductName
(S_ecSlvApiHdl);
EC_API_SLV_getProductName
uint32_t EC_API_SLV_getProductName(EC_API_SLV_SHandle_t *pHandle, char **ppProductName)
Get serial number.
Definition
ecSlvApi_param.c:1072
EC_API_SLV_Handle
Definition
ecSlvApiInternal.h:331
See also
EC_API_SLV_setProductName
Examples
EtherCAT_SubDevice_CiA402.c
,
EtherCAT_SubDevice_Simple.c
, and
EtherCAT_SubDevice_Webserver.c
.
Parameter Configuration
generated by
1.9.8