ADLINK PCI-8124-C User Manual

Page 84

Advertising
background image

74

Function Library

_8124_set_fifo_data:

This function is used to set the specified comparing data to the
FIFO. The capacity of FIFO is 1023. When the status of FIFO is
full, the data cannot be set into FIFO. This function won’t check
the FIFO status.

_8124_set_fifo_array:

This function is used to set comparing data array to the FIFO.

_8124_set_fifo_shift:

This function is used to shift the FIFO data to comparator
(CMP) manually. Generally, when using the FIFO comparing,
the first compared data must shift to the CMP manually via this
function.

_8124_set_fifo_level:

This function is used to set the FIFO low level. There are four
conditions in FIFO low level selection. The default setting is
512 elements remaining in FIFO.

_8124_get_fifo_level:

This function is used to get the setting of FIFO low level.

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_reset_fifo( I16 CardId, I16 Channel );

I16 _8124_get_fifo_sts( I16 CardId, I16 Channel,

I16 *FifoSts );

I16 _8124_set_fifo_data( I16 CardId, I16 Channel,

I32 FifoData );

I16 _8124_set_fifo_array( I16 CardId, I16

Channel, I32 *DataArr, I16 ArraySize );

I16 _8124_set_fifo_shift( I16 CardId, I16 Channel

);

I16 _8124_set_fifo_level( I16 CardId, I16

Channel, I16 Level );

I16 _8124_get_fifo_level( I16 CardId, I16

Channel, I16 *Level );

Advertising