
EDAM-4200 Series User’s manual Version 1.03
szIP[in]
: the IP address for an EDAM-4200 that to be connected
PingTimes [in] :Timeout value
Return Code:
= -1, no response from remote IP
>0, response time from remote IP
7.5.23
TCP_StartStream
Description:
to instruct the PC to start to receive stream data that coming from EDAM-4200
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_StartStream Lib "TCPDAQ.dll" Alias "_TCP_StartStream@8" (ByVal IP As String, ByVal
EventFromApp As Long) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_StartStream(char szIP[],HANDLE EventFromApp);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_StartStream (szIP: PChar; EventFromApp: Longint): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_StartStream(char szIP[],HANDLE EventFromApp);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
EventFromApp : event handle (be signaled, when stream data arrived)
Return Code:
refer to the
Error code
.
7.5.24
TCP_StopStream
Description:
to instruct the PC to stop receiving stream data from all modules.
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_StopStream Lib "TCPDAQ.dll" Alias "_TCP_StopStream@0" () As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_StopStream(void);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_StopStream: Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_StopStream(void);
Parameters:
void
Return Code:
refer to the
Error code
.
7.5.25
TCP_ReadStreamData
Description:
to read stream data that coming from the specific EDAM-4200
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_ReadStreamData Lib "TCPDAQ.dll" Alias "_TCP_ReadStreamData@8" (ByVal szIP As String,
ByRef lpData As StreamData) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_ReadStreamData (char szIP[], struct _StreamData *lpData);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_ReadStreamData (szIP: PChar; Var lpData: TStreamData): integer; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_ReadStreamData (char szIP[], struct _StreamData *lpData);
Printed Date: 27 February 2018
72