Information of EtherCAT Dynamic-link Library (DDL) EtherCAT Programming Guide
28-2 March, 2017
28
API list of DDL information
API Description
_ECAT_Master_Get_DLL_Path Acquire the directory of the EtherCat_DLL.dll file
_ECAT_Master_Get_DLL_Version Acquire the version information of the EtherCat_DLL.dll file
_ECAT_Master_Get_DLL_Path_Single
Acquire the directory of the ECAT_RTX_DLL.dll or
PCI_L221.dll file
_ECAT_Master_Get_DLL_Version_Single
Acquire the version information of the ECAT_RTX_DLL.dll
or PCI_L221.dll file
28.1 _ECAT_Master_Get_DLL_Path
Syntax
U16 PASCAL _ECAT_Master_Get_DLL_Path(I8 *lpFilePath, U32 nSize, U32 *nLength)
Purpose
Acquire the directory of the EtherCat_DLL.dll file.
Parameter
Name Data type Property Description
lpFilePath I8* String Directory of the EtherCat_DLL.dll file
nSize U32 Value The string length to be read
nLength U32* Value The string length of the directory
Example
U16 Status = 0;
I8 FilePath[128];
U32 nSize=128, nLength=0;
Status= _ECAT_Master_Get_DLL_Path(FilePath, nSize, &nLength);