
EDAM-4200 Series User’s manual Version 1.03
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_ReadDISignalWidth (szIP: PChar; var ulLoWidth:array of Longword; var ulHiWidth:array of
Longword): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_ReadDISignalWidth(char szIP[],u_long ulLoWidth[],u_long ulHiWidth[]);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
ulLoWidth[out] : an 32 bit array that stored channel low width value
ulHiWidth[out] : an 32 bit array that stored channel high width value
Return Code:
refer to the
Error code
.
7.5.32
TCP_WriteDISignalWidth
Description:
to set the minimal high/low signal width of all D/I channels
Syntax:
♦
Visual Basic: (
see TCPDAQ.bas
)
Declare Function TCP_WriteDISignalWidth Lib "TCPDAQ.dll" Alias "_TCP_WriteDISignalWidth@12" (ByVal szIP As
String, ByRef ulLoWidth As Long, ByRef ulHiWidth As Long) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
Int TCP_WriteDISignalWidth(char szIP[],u_long ulLoWidth[],u_long ulHiWidth[]);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_WriteDISignalWidth(szIP: PChar; var ulLoWidth:array of Longword; var ulHiWidth:array of
Longword): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_WriteDISignalWidth(char szIP[],u_long ulLoWidth[],u_long ulHiWidth[]);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
ulLoWidth[in] : an unsigned 32 bits array that stored the minimal low signal width for
each D/I channel. The unit is 0.5 mSec
ulHiWidth[in]
: an unsigned 32 bits array that stored the minimal high signal width for
each D/I channel. The unit is 0.5 mSec
Return Code:
refer to the
Error code
.
7.5.33
TCP_ReadDICounter
Description:
to read the counter value of all D/I channels (the counter value is available only for channel that
functions in 'Counter' mode
Syntax:
♦
Visual Basic:
(see TCPDAQ.bas)
Declare Function TCP_ReadDICounter Lib "TCPDAQ.dll" Alias "_TCP_ReadDICounter@8"
(ByVal szIP As String, ByRef ulCounterValue As Long) As Long
♦
Borland C++ Builder: (see TCPDAQ.h)
Int TCP_ReadDICounter(Char szIP[],u_long ulCounterValue[]);
♦
Delphi:
(see TCPDAQ.pas)
Function TCP_ReadDICounter (szIP: PChar; var ulCounterValue:array of Longword): Longint; StdCall;
♦
VC++:
(see TCPDAQ.h)
Int TCP_ReadDICounter(Char szIP[],u_long ulCounterValue[]);
Parameters:
szIP[in]
: the IP address for an EDAM-4200 that to be connected
ulCounterValue[out] :an unsigned 32 bits array that stored the counter value for
each D/I channel
Printed Date: 27 February 2018
75