exit(0);
errCode = _9112_Initial( CARD_2, &baseAddr2, &irqNo2); if ( errCode != ERR_NoError )
exit(0);
.
}
5.4_9112_DI
@ Description
This function is used to read data from digital input port. There are
uSyntax
Visual C++
int W_9112_DI (int card_number, unsigned int *di_data)
Visual Basic
int W_9112_DI (ByVal card_number As Long, di_data As Long) As Long
C/C++ (DOS)
int _9112_DI (int card_number, unsigned int *di_data)
uArgument
card_number : the card number of
di_data : return all
uReturn Code
ERR_NoError, ERR_BoardNoInit
uExample
See Appendix A . Demo Program 'DIO_DEMO.C'
5.5_9112_DI _Channel
uDescription
This function is used to read data from digital input channels (bit). There are 16 digital input channels on the
* channel means each bit of digital input ports.