LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Toggle NI Switch with in debounce time

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.

0 Kudos
Message 1 of 4
(2,962 Views)

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,

0 Kudos
Message 2 of 4
(2,942 Views)

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.

0 Kudos
Message 3 of 4
(2,939 Views)

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,

0 Kudos
Message 4 of 4
(2,933 Views)