12-03-2011 06:41 AM - edited 12-03-2011 06:43 AM
hi everyone
this is my first post at this interesting forum and I hope I'll find some help
I'm studying switch bounce and I need to mesure the periode of the signal, i tried to use some of the functions available at the Signal Processing Toolkit but I didn't find a solution can you help me with some ideas to start with because i'm still a beginner in using Labview. I'm using NI PCI 6250
I've attached a photo that shows the type of signal
12-03-2011 12:36 PM
Exactly what do you want to measure? Switch bounce is not periodic. The number of openings or closings of the contacts can vary from operation to operation. The timing of the multiple openings and closings is not regular, although some patterns will tend to occur.
Do you want to know how many times the contacts bounce, the actual time of each opening and closing, the durations of openings or closings, or toher parameters?
Is this a manually operated switch or a relay contact? Do you need to synchronize the measurements with some indication of the switch actuation? What are you going to do with the measurements after you get them? Graphical display? Statistics? Some other Figure of Merit?
Is this a school project or related to the manufacture or application of switches?
Lynn
12-03-2011 04:00 PM
Thank you for answering
well, you are right, switch bounce is not periodic, in fact what I'm looking for is the duration of openings and closing.
I'm using a manually operated switch and I need this measurments for statistics.
Rafa
12-03-2011 04:48 PM
Have you tried the Transition Measurement VIs? You did not indicate what kind of statistics you're trying to gather. An example of using that VI can be found here: http://forums.ni.com/t5/LabVIEW/%E6%96%B0%E4%BA%BA%E6%B1%82%E5%8A%A9%E5%A6%82%E4%BD%95%E6%B5%8B%E9%8...
12-03-2011 05:33 PM
thanks smercurio_fc
Yes I've read that post and I've downloaded the VI, it's quit interesting but in my case I must take real time measurment and i'm trying to make some modification but I'm doing it slowly since I must understand it well first
if I'm going to use DAQ assistant how can I modify the VI ?
12-03-2011 07:48 PM
Do you want to modify the DAQ Assistant or the Contact Bounce.vi?
To use Contact Bounce.vi with your data from the DAQ Assistant, just remove or diconnect the For loop which generates the simulated signal and connect the data from the DAQ Assistant to the Waveform Graph and the while loop.
You indicated that you are a beginnger with LV. If you are uncertain how to do what we have suggested, please look at the on-line tutorials. They will help you get started.
Lynn
12-07-2011 09:34 PM
thanks for your help I've made some changes to the VI and it works great