C/C++ Library
•
47
Always no error
5.8
W_8454_DI
@ Description
To read the data of the digital input port. It is possible to read the 8
LSBs, 8 MSBs, or read only one bit channel by the DI relative
functions.
@ Syntax
Microsoft C/C++ (Windows, Win95 & Win-NT)
int W_8454_DI( UINT *DI_Value )
int W_8454_DI_L( UINT *DI_LValue )
int W_8454_DI_H( UINT *DI_HValue )
int W_8454_DI_bit( int Bit_No )
Visual Basic
Windows 3.11 Version:
W_8454_DI (DI_Value As Integer) As Integer
W_8454_DI_L (DI_LValue As Integer) As Integer
W_8454_DI_H (DI_HValue As Integer) As Integer
W_8454_DI_bit (ByVal Bit_No As Integer) As Integer
Win-95 or Win-NT Version:
W_8454_DI (DI_Value As Long) As Long
W_8454_DI_L (DI_LValue As Long) As Long
W_8454_DI_H (DI_HValue As Long) As Long
W_8454_DI_bit (ByVal Bit_No As Long) As Long
C/C++ (DOS)
int _8454_DI( UINT *DI_Value )
int _8454_DI_L( UINT *DI_LValue )
int _8454_DI_H( UINT *DI_HValue )
int _8454_DI_bit( int Bit_No )
@ Arguments
UINT *DI_value : the 16 bits digital input value of port BASE+4 and
BASE+5
UINT *DI_Lvalue : the digital input value of port BASE+4, note that
only the low 8 bits is effective.
Summary of Contents for NuDAQ ACL-8454
Page 1: ...N u D A Q ACL 8454 MultiFunctions Counter Timer Card User s Guide...
Page 2: ......
Page 5: ......
Page 6: ......
Page 10: ......
Page 23: ...Installation 13 reference number of chips and the counters number...
Page 39: ...Registers Format 29 Bit 7 6 5 4 3 2 1 0 Base 5 DO7 DO6 DO5 DO4 DO3 DO2 DO1 DO0...