28
•
C/C++ Libraries
5.3
_7396_Initial
@ Description
This function is used to initialize the PCI-7396. Every PCI-7396 has to
be initialized by this function before calling other functions.
@ Syntax
C/C++ (DOS)
U16 _7396_Initial (U16 *existCards, PCI_INFO
*pciInfo)
C/C++ (Windows 95)
U16 W_7396_Initial (U16 *existCards, PCI_INFO
*pciInfo)
Visual Basic (Windows 95)
W_7396_Initial (existCards As Integer, pciInfo As
PCI_INFO) As Integer
@ Argument
existCards: The numbers of installed PCI-7396 cards.
The returned value shows how many PCI-
7396 cards are installed in your system.
pciinfo:
It is a structure to memorize the PCI
bus plug and play initialization
information which is decided by P&P
BIOS. The PCI_INFO structure is defined
in ACL_PCI.H. The base I/O address and
the interrupt channel number is stored
in this variable.
@ Return Code
ERR_NoError
ERR_PCIBiosNotExist
5.4
_7396_DI
@ Description
This function is used to read the 24-bit digital inputs data from the
input port of the PCI-7396.The written data and read in data is 24 bits
data. Each data is mapped to a signal as the table below.
D7
D6
D5
D4
D3
D2
D1
D0
Содержание NuDAQ DIN-96DI
Страница 1: ...NuDAQ P C I 7 3 9 6 DIN 96DI DIN 96DO 96 CH Digital I O Cards U s e r s G u i d e ...
Страница 2: ......
Страница 16: ...8 Installation 2 3 PCI 7396 Layout Figure 2 1 PCI 7396 Layout ...
Страница 24: ...16 Registers Format BASE 07h x x x x x x x x P1n n port number Set to be 0 for input port 1 for output port ...