IviSwtch_IsDebounced

CVI/LabWindows IVI Class Driver

IviSwtch_IsDebounced

IviSwtchBase Capability Group

C Function Prototype

ViStatus IviSwtch_IsDebounced (ViSession vi, ViBoolean *switchDebounced);

Purpose

This function returns a value that indicates whether all the paths that you previously created have settled.

Parameters

Inputs Type Description
vi ViSession The instrument handle that you obtain from the IviSwtch_init or IviSwtch_InitWithOptions functions. The handle identifies a particular IVI session.
     
Outputs Type Description
switchDebounced ViBoolean (passed by reference) Indicates the state of the switch module. The driver returns the value of the IVISWTCH_ATTR_IS_DEBOUNCED attribute.

The value VI_TRUE indicates that all the paths that you created have settled.

The value VI_FALSE indicates that all the paths that you created have not settled.

Return Values