05-28-2010 04:54 PM
I am collecting data from ten 12v pulses that are seperated pretty uniformly. The pulses make a square wave. I need to know how to input this small sample size and find it frequency. I need this frequency to be output in a readable file. Im not very knowledgeable in labview so if you try and help me please be very descriptive.
I know i need some sort of trigger because of uknown wait times before the sensor will be triggored but other than that im pretty lost. Any help would be appreciated.
05-31-2010 11:03 AM
What have you tried so far? What parts are giving you trouble? Please be as specific as possible. Post the code you have written.
You ask about frequency measurement and then you are talking about triggering.
If you always have 10 pulses, just measure the time from the beginning of the first pulse to the beginning of the last pulse. The frequency is 10/time.
Break down the problem to smaller parts. Acquire the data. Measure the frequency. Save the result to a file. Get each part working separately, thenput them together.
Lynn
05-31-2010 11:04 AM - edited 05-31-2010 11:05 AM
What have you tried so far? What parts are giving you trouble? Please be as specific as possible. Post the code you have written.
You ask about frequency measurement and then you are talking about triggering.
If you always have 10 pulses, just measure the time from the beginning of the first pulse to the beginning of the last pulse. The frequency is 10/time.
Break down the problem to smaller parts. Acquire the data. Measure the frequency. Save the result to a file. Get each part working separately, then put them together.
Lynn
Sorry about duplicate post. My internet connection is very slow today.