ADLINK PCI-8124-C User Manual

Page 97

Advertising
background image

Function Library

87

function was time out. This function returns when one of the fol-
lowing occurs:

1. The specified interrupt factor is in the signaled state.

2. The time-out interval elapses.

This function checks the current state of the specified interrupt
factor. If the state is non-signaled, the calling thread enters the
wait state. It uses no processor time while waiting for the INT
state to become signaled or the time-out interval to elapse.

8124_reset_int:

This function sets the specified interrupt event to a non-sig-
naled state. This function is usually put into program before the
"_8124_wait_single_int" function.

@ Syntax

C/C++ (Windows 2000/XP)

I16 _8124_set_int_factor( I16 CardId, I16

Channel, I16 IntFactorsInBit );

I16 _8124_get_int_factor( I16 CardId, I16

Channel, I16 *IntFactorsInBit );

I16 _8124_wait_single_int( I16 CardId, I16

Channel, I16 FactorBitNum, I32 TimeOutMs );

I16 _8124_reset_int( I16 CardId, I16 Channel, I16

FactorBitNum );

Visual Basic (Windows 2000/XP)

B_8124_set_int_factor (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal

IntFactorsInBit As Integer) As Integer

B_8124_get_int_factor (ByVal CardId As Integer,

ByVal Channel As Integer, IntFactorsInBit As

Integer) As Integer

B_8124_wait_single_int (ByVal CardId As Integer,

ByVal Channel As Integer, ByVal FactorBitNum

As Integer, ByVal TimeOutMs As Long) As

Integer

B_8124_reset_int( ByVal CardId As Integer, ByVal

Channel As Integer, ByVal FactorBitNum As

Integer) As Integer

Advertising