Cnt2K_GetTriggerTypeWord
This function code is used to get trigger type when specific D/I channel in 'Count' mode.
C/C++
int Cnt2K_GetTriggerTypeWord( int hConnection,
BYTE bytChannel,
WORD * wType);
Visual Basic
Declare Function Cnt2K_GetTriggerTypeWord Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytChannel As Byte, wType As Integer) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytChannel |
The specific channel to be get. |
wType |
A pointer that stores the trigger type for specific channel. The values are : 0: LoToHi 1: HiToLo 2: Both |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |