StopBackground()

Stops one or more subsystem background operations that are in progress for the specified board. Use this method to stop any method that is running in the background. This includes any method that was started with the Background option, as well as CStoreOnInt() (which always runs in the background).

Execute StopBackground() after normal termination of all background methods to clear variables and flags.

Member of the MccBoard class.

Function Prototype

VB .NET

Public Function StopBackground(ByVal funcType As MccDaq.FunctionType) As MccDaq.ErrorInfo

C# .NET

public MccDaq.ErrorInfo StopBackground(MccDaq.FunctionType funcType)

Parameters

functionType

Specifies which background operation to stop. Set it to one of the constants in the functionType parameter values below.

Returns

functionType parameter values

AiFunctionSpecifies analog input scans started with AInScan() or APretrig().
AoFunctionSpecifies analog output scans started with AOutScan().
DiFunctionSpecifies digital input scans started with DInScan().
DoFunctionSpecifies digital output scans started with DOutScan().
CtrFunctionSpecifies counter background operations started with CStoreOnInt() or CInScan().
DaqiFunctionSpecifies a synchronous input scan started with DaqInScan().
DaqoFunctionSpecifies a synchronous output scan started with DaqOutScan().