TC2K_ReadRaw

 

This function code is used to read the TC input raw data for a specific channel.

 

C/C++

int TC2K_ReadRaw( int hConnection,

BYTE bytChannel,

DWORD * dwValue);

 

Visual Basic

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

 

Arguments:

hConnection

The handle for an I/O device connection.

bytChannel

The specific channel to be read.

dwValue

An point that stores the specific TC channel's raw data.

 

Return Value:

Succeed

MXIO_OK

Fail

Refer to Return Codes.