
EDAM-4200 Series User’s manual Version 1.03
Chapter 7
TCPDAQ DLL API
7.1
Common Functions
NO.
Function Name
Description
Sec.
1
TCP_Open
To initiate the TCPDAQ.dll to use.
2
TCP_Close
To terminates use of the TCPDAQ.dll.
3
TCP_Connect
To create a Window TCP socket then establishing a
connection to a specific EDAM-4200(A)
4
TCP_Disconnect
Disconnecting the Window TCP socket from all
EDAM-4200 modules
5
TCP_ModuleDisconnect
Disconnecting the Window TCP socket from a specific
EDAM-4200
6
TCP_SendData
Send data to a specific EDAM-4200(A) module
7
TCP_RecvData
Receive data to a specific EDAM-4200(A) module
8
TCP_SendReceiveASCcmd
To accept an ASCII format string as a command, and
transform it to meet the Modbus/TCP's specification.
Then sending it to EDAM-4200(A) and receiving the
response from EDAM-4200(A)
9
UDP_Connect
To create a Window UDP socket then establishing a
connection to a specific EDAM-4200(A)
10
UDP_Disconnect
Disconnecting the Window UDP socket from all
EDAM-4200(A) modules
11
UDP_ModuleDisconnect
Disconnecting the Window UDP socket from a specific
EDAM-4200(A)
12
UDP_SendData
Send data to a specific EDAM-4200(A) module
13
UDP_RecvData
Receive data to a specific EDAM-4200(A) module
14
UDP_SendReceiveASCcmd
Direct send an ASCII format string as a command, and
receive the response from EDAM-4200(A)
15
TCP_GetModuleIPinfo
Return module IP information of a specific module
16
TCP_GetModuleID
Return module ID number of a specific module
17
TCP_GetIPFromID
Return IP address of a specific module ID number
18
TCP_ScanOnLineModules
Scan all on-line EDAM-4200(A) modules
19
TCP_GetDLLVersion
Return the DLL's version, that is the version of
TCPDAQ.DLL
20
TCP_GetModuleNo
Return the module name of a specific IP address
21
TCP_GetLastError
Return the error code of the latest called function
22
TCP_PingIP
Ping to Remote IP address
7.2
Stream/Event Functions
TCP_StartStream
To instruct the PC to start to receive stream data that coming from
EDAM-4200
TCP_StopStream
To instruct the PC to stop receiving stream data from all modules
TCP_ReadStreamData
To receive stream data that coming from the specific
EDAM-4200(A)
TCP_StartEvent
To instruct the PC to start to receive alarm event data that coming
from EDAM-4200
TCP_StopEvent
To instruct the PC to stop receiving alarm event data from all
modules
TCP_ReadEventData
To receive alarm event data that coming from the specific
EDAM-4200(A)
Printed Date: 27 February 2018
62