E1K_DI_GetFilters

 

This function code is used to get the filter of contiguous D/I channels.

 

C/C++

int E1K_DI_GetFilters( int hConnection,

BYTE bytStartChannel,

BYTE bytCount,

WORD wFilter[ ]);

 

Visual Basic

Declare Function E1K_DI_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's connection.

bytStartChannel

Specifies the starting channel.

bytCount

The number of channels to be gets.

wFilter

An array that stores contiguous D/I channel's filter value. wFilter[0] represents the value of the starting channel.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.