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

◆ EC_API_SLV_getVendorId()

uint32_t EC_API_SLV_getVendorId ( EC_API_SLV_SHandle_t pHandle,
uint32_t *  pVendorId 
)

Get device vendor ID.

Get device vendor ID. Used by the Object Dictionary

Parameters
[in]pHandleEtherCAT API instance.
[out]pVendorIdVendor ID.
Returns
ErrorCode API Error Code
Example
#include <ecSlvApi.h>
// required variables
EC_API_SLV_SHandle_t* S_ecSlvApiHdl;
uint32_t vendorId = 0;
// the Call
vendorId = EC_API_SLV_getVendorId(S_ecSlvApiHdl);
uint32_t EC_API_SLV_getVendorId(EC_API_SLV_SHandle_t *pHandle, uint32_t *pVendorId)
Get device vendor ID.
Definition ecSlvApi_param.c:871
Definition ecSlvApiInternal.h:331
See also
EC_API_SLV_setVendorId
Examples
EtherCAT_SubDevice_CiA402.c, EtherCAT_SubDevice_Simple.c, and EtherCAT_SubDevice_Webserver.c.