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

Page 118

Advertising
background image

108

Additional Function Library

C/C++ (DOS,Windows)

I16 _8134_initial(I16 *existCards)
I16 _8134_close(void)

I16 _8134_config_from_file(U8 *fileName)
I16 _8134_get_irq_channel(I16 cardNo, U16 *irq_no )

I16 _8134_get_base_addr(I16 cardNo, U16 *base_addr)
I16 _8134_version_info(I16 CardNo, U16 *HardwareInfo, I32

*SoftwareInfo, I32 *DriverInfo)

Visual Basic (Windows)

B_8134_initial (existCards As Integer) As Integer
B_8134_close () As Integer
B_8134_config_from_file (ByVal fileName As String) As Integer
B_8134_get_irq_channel (ByVal cardno As Integer, irq_no As

Integer) As Integer

B_8134_get_base_addr (ByVal cardno As Integer, base_addr As

Integer) As Integer

B_8134_version_info (ByVal CardNo As Integer, HardwareInfo As

Integer, SoftwareInfo As Long, DriverInfo As Long)

@ Argument

existCards: numbers of existing 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
HardwareInfo: 0x1000 in heximal
SoftwareInfo: Format=OS/YY/MM/DD in decimal

OS=00, Win32

OS=12, WinCE
OS=24, DOS
OS=36, DOSExt
OS=48, Linux

DriverInfor: The same with SoftwareInfo

@ Return Code ERR_NoError

ERR_BoardNoInit

ERR_PCIBiosNotExist

7.4

Pulse Input / Output Configuration

@ Name

_8134_set_pls_outmode – Set the configuration for pulse

command output.

_8134_set_pls_iptmode – Set the configuration for feedback pulse

input.

_8134_set_feedback_src – Select feedback counter source

Advertising