11-10-2011 11:00 AM
Hi Everyone,
I am using NI labview, where i am one switch as my Input.
Now the debounce time of that input switch is changed from 300ms to 40 ms.
How i can test this using NI Labview.
I need like this:
1) Switch On
2) Wait for 35 ms
3) Switch Off again.
I need to test my switch like this ways. Could anyone help me to sort out this problem.
Regards,
Ballubhai.
11-14-2011 04:29 AM
Hi Ballubhai,
Thanks for posting on the forums.
I'd just like to clarify what you're attempting to achieve so I can provide the appropriate advice for you. Do you have a phsyical hardware switch which you are reading via a DAQ device and you wish to perform software debouncing within LabVIEW?
Kind Regards,
11-14-2011 06:18 AM
Hi Paul,
Am using the Software switch with in the Labview.
Instead of using the real hardware switch we are the using switch scripted in the labview.
Now I need to the test software in our ECU that controls the switch. So I need check the debounce time of that switch.
Regards,
Ballubhai.
11-14-2011 11:22 AM
Hi Ballubhai,
Debounce is a property typically associated with the characteristics of a physical electrical switch - particularly when attempting to read a binary value into software. I'm therefore not sure I understand what debounce you are referring to within your application. You did mention you are using a switch "scripted" in LabVIEW, could you please elaborate on what you are doing here?
Is this ECU a stand alone hardware device which you are interfacing with and testing using LabVIEW? It might help me understand your question further if you could explain your application in full and describe what this debounce is which you wish to measure.
Kind Regards,