W5K_Cnt_GetFilters

 

This function code is used to get contiguous channel's filter value when D/I channel in 'Count' mode.

 

C/C++

int W5K_Cnt_GetFilters( int hConnection,

BYTE bytStartChannel,

BYTE bytCount,

WORD wFilter[ ]);

 

Visual Basic

Declare Function W5K_Cnt_GetFilters Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytStartChannel As Byte, ByVal bytCount As Byte, iFilter As Integer) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

bytStartChannel

Specifies the starting channel.

bytCount

The number of channels to be gets.

wFilter

An array that stored the filter value for contiguous D/I channel.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.