
EDAM-4200 Series User’s manual Version 1.03
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function UDP_SendReceiveASCcmd Lib "TCPDAQ.dll" Alias "_UDP_SendReceiveASCcmd@12"
(ByVal szIP As String, ByVal Txdata As _ String, ByVal Rxdata As String) As Long
♦
Borland C++ Builder:
(see TCPDAQ.h)
int UDP_SendReceiveASCcmd(char szIP[],char Txdata [],char Rxdata []);
♦
Delphi:
(see TCPDAQ.pas)
Function UDP_SendReceiveAsCcmd (szIP: PChar; Txdata:PChar; Rxdata: PChar): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int UDP_SendReceiveASCcmd(char szIP[],char Txdata [],char Rxdata []);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
Txdata [in]
: 8 bit array that stored the data to be sent
Rxdata [out] : 8 bit array that stored the received data
Return Code:
refer to the
Error code
.
7.5.15
TCP_GetModuleIPinfo
Description:
return module IP information of a specific module
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_GetModuleIPinfo Lib "TCPDAQ.dll" Alias "_TCP_GetModuleIPinfo@8" (ByVal szIP As String,
ByRef ModuleIP As ModuleInfo) As Long
♦
Borland C++ Builder:
(see TCPDAQ.h)
Int TCP_GetModuleIPinfo( char szIP[],struct ModuleInfo *ModuleIP);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_GetModuleIPinfo (szIP: PChar; var ModuleIP: TModuleInfo): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_GetModuleIPinfo( char szIP[],struct ModuleInfo *ModuleIP);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
ModuleIP[out] : a structure array that stroes the module IP information
Return Code:
refer to the
Error code
.
7.5.16
TCP_GetModuleID
Description:
return ID number of a specific module.
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_GetModuleID Lib "TCPDAQ.dll" Alias "_TCP_GetModuleID@8" (ByVal szIP As String, ByRef
ModuleID As Byte) As Long
♦
Borland C++ Builder:
(see TCPDAQ.h)
Int TCP_GetModuleID(char szIP[], char * ModuleID);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_GetModuleID(szIP: PChar; ModuleID: PByte): Longint; StdCall;;
♦
VC++:
(see TCPDAQ.h)
Int TCP_GetModuleID(char szIP[], char * ModuleID);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
ModuleID [in] : the ID number
Return Code:
refer to the
Error code
.
Printed Date: 27 February 2018
69