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.
VB .NET
Public Function StopBackground(ByVal funcType As MccDaq.FunctionType) As MccDaq.ErrorInfo
C# .NET
public MccDaq.ErrorInfo StopBackground(MccDaq.FunctionType funcType)
functionType
Specifies which background operation to stop. Set it to one of the constants in the functionType parameter values below.
AiFunction | Specifies analog input scans started with AInScan() or APretrig(). |
AoFunction | Specifies analog output scans started with AOutScan(). |
DiFunction | Specifies digital input scans started with DInScan(). |
DoFunction | Specifies digital output scans started with DOutScan(). |
CtrFunction | Specifies counter background operations started with CStoreOnInt() or CInScan(). |
DaqiFunction | Specifies a synchronous input scan started with DaqInScan(). |
DaqoFunction | Specifies a synchronous output scan started with DaqOutScan(). |