Pulse input / output configuration, 4 pulse input / output configuration – ADLINK PCI-8134A User Manual

Page 90

Advertising
background image

80

Function Library

This function is used to get the PCI-8134 card’s IRQ number.

W_8134_Get_Base_Addr :

This function is used to get the PCI-8134 card’s base address.

@ Syntax

C/C++ (DOS)

U16 _8134_Initial (U16 *existCards, PCI_INFO *info)
U16 _8134_Close(U16 cardNo)
U16 _8134_Set_Config(char* filename)

C/C++ (Windows)

U16 W_8134_Initial(U16 *existCards, PCI_INFO *pciInfo)

(Windows

9x Only)

U16 W_8134_Initial(

I32 cardNo) (Windows NT/2K/XP)

U16 W_8134_InitialA(I16 *Totalcard)

(All Windows)

U16 W_8134_Close(

I32 cardNo) (All Windows)

U16 W_8134_Set_Config(char *fileName)
void W_8134_Get_IRQ_Channel(U16 cardNo, U16 *irq_no )
void W_8134_Get_Base_Addr(U16 cardNo, U16 *base_addr )

Visual Basic (Windows)

W_8134_Initial (existCards As Integer, pciInfo As

PCI_INFO) As Integer (Windows 9x Only)

W_8134_Initial (ByVal cardNo As Long) As Integer

(Windows NT/2K/XP)

W_8134_Close (ByVal cardNo As Long) As Integer

(Windows NT/2K/XP)

W_8134_Set_Config (ByVal fileName As String) As

Integer

W_8134_Get_IRQ_Channel (ByVal cardno As Integer,

irq_no As Integer)

W_8134_Get_Base_Addr (ByVal cardno As Integer,

base_addr As Integer)

@ Argument

existCards: numbers of existing PCI-8134 cards
info: relative information of the PCI-8134 cards
cardNo: The PCI-8134 card index number.

filename: A configuration file from MotionCreator
irq_no: The card’s IRQ channel number
base_addr: The card’s base address

@ Return Code

ERR_NoError
ERR_BoardNoInit
ERR_PCIBiosNotExist



6.4

Pulse Input / Output Configuration

Advertising