![ADLINK Technology NuDAQ PCI-9812/10 User Manual Download Page 48](http://html.mh-extra.com/html/adlink-technology/nudaq-pci-9812-10/nudaq-pci-9812-10_user-manual_2852808048.webp)
40
•
C/C++ Library
6.3 _9812_Initial
@ Description
This function is used to initialize PCI-9812/10. Every PCI-9812/10
has to be initialized by this function before calling other functions.
@ Syntax
C/C++ (DOS)
int _9812_Initial (int card_number, U16
*op_base_address,U16 *pt_base_address,
U16 *irq_no, U16 *pci_master)
C/C++ (Windows 95)
int W_9812_Initial (int card_number, U16
*op_base_address,U16 *pt_base_address,
U16 *irq_no, U16 *pci_master)
Visual Basic (Windows 95)
W_9812_Initial (ByVal card_number As Long,
op_base_address As Integer,
pt_base_address As Integer, irq_no As
Integer, pci_master As Integer) As
Long
@ Argument
card_number:
the card number of PCI-9812/10 to be initialized,
totally 10 cards can be initialized, the valid card
numbers are 0~9.
op_base_address:
the physical location of S5933 operation
Registers in I/O space.
pt_base_address:
the physical location of add-on registers in
pass-through I/O space
irq_no :
the interrupt IRQ level of your PCI-9812 card, this
available IRQ value is automatically assigned by
system BIOS.
pci_master :
BIOS enables or disables bus mastering in PCI
Command Register
@ Return Code
PCICardNumErr
PCIBiosNotExist
PCIBaseAddrErr
NoError
Summary of Contents for NuDAQ PCI-9812/10
Page 1: ...NuDAQ PCI 9812 10 20MHz Simultaneous 4 CH Analog Input Card Users Guide ...
Page 4: ......
Page 57: ...C C Library 49 ...
Page 61: ...Calibration 53 ...
Page 69: ...Software Utility 61 ...