Delay
- Updated2026-01-20
- 1 minute(s) read
Gets or sets a value which indicates the minimum amount of time, in seconds, the Switch device waits before it asserts the AdvancedOutput trigger after opening or closing the switch. The switch always WaitForDebounce before asserting the trigger.
Syntax
Namespace: NationalInstruments.ModularInstruments.NISwitch
public PrecisionTimeSpan Delay { get; set; }
Returns
Specifies an Double which indicates the minimum amount of time, in seconds, the SWITCH device waits before it asserts the AdvancedOutput trigger after opening or closing the switch. The switch always WaitForDebounce before asserting the trigger.
Exceptions
| Type | Description |
|---|---|
| System.ObjectDisposedException | The Delay was accessed after the associated NISwitch object was disposed. |