Cnt2K_ClearOverflows

 

This function code is used to clear contiguous channel's overflow status when D/I channel in 'Count' mode.

 

C/C++

int Cnt2K_ClearOverflows( int hConnection,

BYTE bytStartChannel,

BYTE bytCount);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytStartChannel

Specifies the starting channel.

bytCount

The number of channels to be clear

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.