NI-SWITCH 19.0 .NET Framework 4.0 API Reference

Table of Contents

WaitForDebounce Method

  • Updated2023-02-21
  • 2 minute(s) read
WaitForDebounce Method
Pauses until all created paths have settled.

Namespace:  NationalInstruments.ModularInstruments.NISwitch
Assembly:  NationalInstruments.ModularInstruments.NISwitch.Fx40 (in NationalInstruments.ModularInstruments.NISwitch.Fx40.dll) Version: 19.0.0.49152 (19.0.0.49152)
Visual Basic (Declaration)
Public Sub WaitForDebounce ( _
	maximumTime As PrecisionTimeSpan _
)
C#
public void WaitForDebounce(
	PrecisionTimeSpan maximumTime
)

Parameters

maximumTime
Specifies the maximum length of time to wait for all relays in the switch module to activate or deactivate.

Exceptions

ExceptionCondition
Ivi.Driver.MaxTimeExceededException maximumTime parameter elapses before the switch paths settle
ObjectDisposedException The WaitForDebounce was accessed after the associated NISwitch.NISwitch object was disposed.

See Also

Log in to get a better experience