30
•
C/C++ Libraries
5.4 Digital Input
@ Description
This function is used to read 16-bit digital inputs data from digital input
port. You can get the 16 bits data from _7230_DI by using this function.
You can get the 32 bits data from _7233_DI by using this function.
@ Syntax
C/C++ (DOS)
U16 _7230_DI( U16 cardNo, U16 *di_data )
U16 _7233_DI( U16 cardNo, U32 *di_data )
C/C++ (Windows 95)
U16 W_7230_DI ( U16 cardNo, U16 *diData)
U16 W_7233_DI ( U16 cardNo, U32 *diData)
Visual Basic (Windows 95)
W_7230_DI (ByVal cardNo As Integer, DIData As Integer) As
Integer
W_7233_DI (ByVal cardNo As Integer, DIData As Integer) As
Integer
@ Argument :
cardNo:
card number to select board.
di_data:
return 16-bit value from digital port.
@ Return Code :
ERR_NoError