Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
This Document is not yet Rated  Rate this Document

How Can I Change the Debounce or Settling Time of my National Instruments Switch Device?

Primary Software: Driver Software>>NI-DAQmx
Primary Software Version: 8.3
Primary Software Fixed Version: N/A
Secondary Software: N/A
Hardware: Switches

Problem: How Can I Change the Debounce or Settling Time of my National Instruments Switch Device?

Solution:
The NI-DAQmx driver can be used to change the switch debounce time stored in the switch hardware. To modify the time, call SettlingTime, a Property of DAQmx Switch Device. NI-DAQmx adds the time to the settling time of the motherboard.
Modify this time only if the default settling time is insufficient. This will modify the debounce time for all programs that access the switch, including Switch Executive.
 
A common use case is to change the debounce time of switches called by the Switch Executive API in TestStand. To do this, call a step in the beginning of the TestStand Sequence that references the switch and changes the settling time. This step can be in any programming language. Refer to the attached screenshot below for an example of the step in LabVIEW.


Related Links: Complete Switching Tutorial
Switches Home


Attachments:


settling time.JPG - settling time.JPG


Report Date: 02/09/2007
Last Updated: 03/16/2007
Document ID: 4688CMOY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit