Solution
The niSwitch Wait for Debounce VI blocks the device until the settling time has expired. The settling time varies depending on the type of relay on the instrument. However, this can be configured by the user via the NISWITCH_ATTR_SETTLING_TIME attribute.
When the hardware driver flips a relay, a countdown timer starts based on the duration specified by NISWITCH_ATTR_SETTLING_TIME. The VI continuously polls the hardware to check if the timer has expired. The polling mechanism varies depending on the hardware architecture (e.g. CA4, CA3, SwitchBlock).
Once the timer has expired, the VI unblocks the device, allowing the next function to proceed.