Function
Starts continuous mode.
Format
ret = dncDaq01.ContinuousModeStart(DeviceNo, Direction, ContinuousModeNo)
Parameters
DeviceNo [ C#: short ] [ VB.NET: Short ]
Specifies the device No. managed by DncDaq.
Direction [ C#: short ] [ VB.NET: Short ]
Specifies the input/output direction.
Value |
Description |
0 |
Input |
ContinuousModeNo [ C#: out short ] [ VB.NET: Short ]
Specifies the address of the variable that stores the executed continuous No..
When the input is selected in Direction, the sampling No. the sampling setting is stored.
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. |
■AIO Devices
Value |
Description |
20002 |
Cannot run because the device is running |
21460 |
Because sampling clock error occurs, you must reset the device |
21461 |
Virtual memory
can't be allocated |
21463 |
In the software start, please set the repeat times to 1 |
21466 |
User buffer is not set |
21469 |
Buffer overflow error occurred, you must reset the memory |
Other errors (see: Error code details)
Remarks
Starts continuous mode of input or output.
Example
Starts continuous mode of input.
C# |
int Ret;
|
VB.NET |
Dim Ret As Integer
|