Digital Input - NuDAQ PCI-7230 User Manual

723x series 32 channels isolated digital i/o card
Table of Contents

Advertisement

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
U16
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:
di_data:
@ Return Code :
ERR_NoError
30
C/C++ Libraries
_7230_DI( U16 cardNo,
_7233_DI( U16 cardNo,
card number to select board.
return 16-bit value from digital port.
U16
*di_data )
U32
*di_data )

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pci-7233Pci-7234Cpci-7230Pci-7233h

Table of Contents