Function
Stops counting operation for the multiple specified channels.
Format
ret = dncDaq01.CntStopCount(DeviceNo, Channel, ChannelNum)
Parameters
DeviceNo [ C#: short ] [ VB.NET: Short ]
Specifies the device number managed by DncDaq.
Channel [ C#: short[] ] [ VB.NET: Short() ]
Specifies the channel numbers to stop in an array.
ChannelNum [ C#: short ] [ VB.NET: Short ]
Specifies the number of channels.
Return value
Ret [ C#: int ] [ VB.NET: Integer ]
â– Common
Value |
Description |
0 |
Normality completion |
500001 |
The method on an unconfigured device has been called. Check the device settings. |
500002 |
The method was called that the device does not support. |
510001 |
The input parameter is invalid. Check the parameter contents. |
Other errors (See also: Error code details)
Remarks
It cannot be used with devices that do not have a counter input function.
Example
Stops counting operation for channels 0 to 2.
C# |
int Ret Channel[0] = 0; Channel[1] = 1;
|
VB.NET |
Dim Ret As Integer Channel(0) = 0 Channel(1) = 1
|