
EDAM-4200 Series User’s manual Version 1.03
Return Code:
refer to the
Error code
.
7.5.34
TCP_ClearDICounter
Description:
to clear the counter value when a D/I channel function in 'Counter' mode
Syntax:
♦
Visual Basic: (
see TCPDAQ.bas
)
Declare Function TCP_ClearDICounter Lib "TCPDAQ.dll" Alias "_TCP_ClearDICounter@8"
(ByVal szIP As String, ByVal wChno As Integer) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_ClearDICounter(char szIP[],u_short wChNo);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_ClearDICounter (szIP: PChar; wChno: Integer): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_ClearDICounter(char szIP[],u_short wChNo);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
wChNo[in] : the D/I channel to be cleared.
Return Code:
refer to the
Error code
.
7.5.35
TCP_StartDICounter
Description:
to start the counting when a D/I channel function as 'Counter' mode
Syntax:
♦
Visual Basic: (
see TCPDAQ.bas
)
Declare Function TCP_StartDICounter Lib "TCPDAQ.dll" Alias "_TCP_StartDICounter@8" (ByVal szIP As String,
ByVal wChno As Integer) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_StartDICounter(Char szIP[],u_short wChNo);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_StartDICounter (szIP: PChar; wChno: Integer): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_StartDICounter(Char szIP[],u_short wChNo);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
wChNo[in] : the channel number that is enabled to count
Return Code:
refer to the
Error code
.
7.5.36
TCP_StopDICounter
Description:
to stop the counting when a D/I channel function as 'Counter' mode
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_StopDICounter Lib "TCPDAQ.dll" Alias "_TCP_StopDICounter@8"
(ByVal szIP As String, ByVal wChno As Integer) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
int TCP_StopDICounter(char szIP[],u_short wChNo);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_StopDICounter (szIP: PChar; wChno: Integer): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
int TCP_StopDICounter(char szIP[],u_short wChNo);
Printed Date: 27 February 2018
76