LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do you find the frequency of a small sample size and a square wave.

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.

0 Kudos
Message 1 of 3
(2,527 Views)

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 

0 Kudos
Message 2 of 3
(2,487 Views)

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.

Message Edited by johnsold on 05-31-2010 12:05 PM
0 Kudos
Message 3 of 3
(2,486 Views)