WaitForDebounce Method
- Updated2023-02-21
- 2 minute(s) read
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
Exception | Condition |
---|---|
Ivi.Driver.MaxTimeExceededException | maximumTime parameter elapses before the switch paths settle |
ObjectDisposedException | The WaitForDebounce was accessed after the associated NISwitch.NISwitch object was disposed. |