04-11-2008 02:17 PM
04-11-2008 02:50 PM
04-11-2008 02:59 PM
04-12-2008 09:52 PM
I don't know how realized it by shift register with a For Loop. Could you please show an example? I have an array of data.
When finding the zero crossing point for Amplitude Array, I need to get the zero crossing time .
Thanks,
Wei Tong
LabView7.1
04-13-2008 01:36 AM - edited 04-13-2008 01:36 AM
This is the basic idea.
If you calculate the zero crossing , each time you acquire new data, you will have no speed problems.
Although this is NOT completely right. It will not work if one data is equal to zero.
You should add aditional code for this....
04-13-2008 01:43 AM
Your problem description is really not very well defined to make a definite suggestion.
Depending on how much you know about the data, you might be able to use "threshold array" (which gives you the linearly interpolated x value of the first zero crossing from negative to positive) Check the online help for details.. If the function is monotonic, you could use a binary seach, which is much faster.
04-13-2008 01:48 PM
Sorry for unclear descrition.
There are a lot of zero crossings because the data is kind of sine wave(mixture). I need to find all of them (zero crossing time). Also I need to identify the "increasing" zero crossing and "decreasing" zero crossing.
Wei Tong
LV 7.1
04-13-2008 02:52 PM - edited 04-13-2008 02:52 PM
04-13-2008 03:31 PM
02-02-2009 01:08 PM
Thank you!
I'll try your example maybe it will fit my Zero-Crossing FM demodulation project/