
EDAM-4200 Series User’s manual Version 1.03
Parameters:
void
Return Code:
the version number.
7.5.20
TCP_GetModuleNo
Description:
return the module name of a specific IP address
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_GetModuleNo Lib "TCPDAQ.dll" Alias "_TCP_GetModuleNo@8" _
(ByVal szIP As String, ByRef Mname As Byte) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
Int TCP_GetModuleNo(char szIP[], char Mname[]);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_GetModuleNo (szIP: PChar; Mname: PByte): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_GetModuleNo(char szIP[], char Mname[]);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
Mname[out]
: 8 bit array that stored the module name string
Return Code:
refer to the
Error code
.
7.5.21
TCP_GetLastError
Description:
return the error code of the latest called function
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_GetLastError Lib "TCPDAQ.dll" Alias "_TCP_GetLastError@0" () As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
Int TCP_GetLastError(void);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_GetLastError: Longint ; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_GetLastError(void);
Parameters:
void
Return Code:
refer to the
Error code
7.5.22
TCP_PingIP
Description:
ping to remote IP address
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_PingIP Lib "TCPDAQ.dll" Alias "_TCP_PingIP@8" (ByVal IPadr As String, ByVal PingTimes As
Integer) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_PingIP(char szIP[],int PingTimes);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_PingIP(szIP: PChar;PingTimes: Integer): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_PingIP(char szIP[],int PingTimes);
Parameters:
Printed Date: 27 February 2018
71