ContinuousModeStop


Function

 

Stops continuous mode.

 

Format

 

ret = dncDaq01.ContinuousModeStop(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

11480

A driver internal error has occurred

11481

A driver internal error has occurred

11482

A driver internal error has occurred

11483

A driver internal error has occurred

20003

Cannot run because another process is using the device

Other errors (see: Error code details)

 

Remarks

 

Stops continuous mode of input or output.

 

Example

 

Stops continuous mode of input.

C#

int   Ret;
short ContinuousModeNo;

Ret = dncDaq01.ContinuousModeStop(DeviceNo, 0, out ContinuousModeNo);

 

VB.NET

Dim Ret As Integer
Dim ContinuousModeNo As Short

Ret = dncDaq01.ContinuousModeStop(DeviceNo, 0, ContinuousModeNo)