Cnt2K_ClearOverflow

 

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

 

C/C++

int Cnt2K_ClearOverflow( int hConnection,

BYTE bytChannwl);

 

Visual Basic

Declare Function Cnt2K_ClearOverflow Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte) As Long

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be clear.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.