ADLINK PCI-8124-C User Manual

Page 85

Advertising
background image

Function Library

75

Visual Basic (Windows 2000/XP)

B_8124_reset_fifo (ByVal CardId As Integer, ByVal

Channel As Integer) As Integer

B_8124_get_fifo_sts (ByVal CardId As Integer,

ByVal Channel As Integer, FifoSts As

Integer) As Integer

B_8124_set_fifo_data (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal FifoData As

Long) As Integer

B_8124_set_fifo_array (ByVal CardId As Integer,

ByVal Channel As Integer, DataArr As Long,

ByVal ArraySize As Integer) As Integer

B_8124_set_fifo_shift (ByVal CardId As Integer,

ByVal Channel As Integer) As Integer

B_8124_set_fifo_level (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal Level As

Integer) As Integer

B_8124_get_fifo_level (ByVal CardId As Integer,

ByVal Channel As Integer, Level As Integer)

As Integer

@ Argument

I16 CardId

: The PCI-8124-C card’s ID number.

I16 Channel

: The channel’s number of FIFO ( 0 – 3 )

I16 *FifoSts

: The FIFO status.

0: FIFO datas = Empty

1: Low level

FIFO data > Empty

2: Full > FIFO data > Low level

3: FIFO = Full

I32 FifoData

: The data to FIFO.

I32 *DataArr

: The data array to FIFO

I16 ArraySize

: The size of data array to FIFO. ( 1 – 1023 )

Advertising