Pulse2K_GetOutputCounts
This function code is used to get the contiguous pulse channel's output count.
C/C++
int Pulse2K_GetOutputCounts( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
DWORD dwOutputCounts[ ]);
Visual Basic
Declare Function Pulse2K_GetOutputCounts Lib "MXIO.dll" (ByVal hConnection As Long, ByVal bytStartChannel As Byte, ByVal bytCount As Byte, nOutputCounts As Long) As Long
Arguments:
hConnection |
The handle for an I/O device connection. |
bytStartChannel |
Specifies the starting channel. |
bytCount |
The number of channels to be gets. |
dwOutputCounts |
An array that stores the contiguous pulse channel's output count, dwOutputCounts[0] represents the pulse output count of the starting channel. |
Return Value:
Succeed |
MXIO_OK |
Fail |
Refer to Return Codes. |