LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

period of 1d array

I need to measure the period of a 1D array of doubles. This data is taken from an encoder that puts out a square waveform. The problem is that the period changes every 1 cycle and I need to be able to accurately measure the period of each cycle. What function can I use to get this data?
 
Thanks!
 
Tim
0 Kudos
Message 1 of 6
(3,283 Views)
Do you have a small data sample you can post?  Regards, -SS


0 Kudos
Message 2 of 6
(3,269 Views)
I can think of 2 ways off the top of my head:
  • Use the Pulse Measurement VI to return to you the pulse widths.
  • Use the Transition Measurements VI to basically get the same thing.
0 Kudos
Message 3 of 6
(3,268 Views)
The problem is that the data acquired is not a waveform but a 1d array. I have attached some sample data.
0 Kudos
Message 4 of 6
(3,221 Views)
A 1D array can be turned into a waveform:




What is the second column in your data?


Message Edited by smercurio_fc on 06-23-2008 10:47 AM
0 Kudos
Message 5 of 6
(3,213 Views)
Sorry about that, the second column is another set of data from another sensor. I will give this a try and see what results I get. Will post any other problems here.
0 Kudos
Message 6 of 6
(3,200 Views)