04-13-2007 11:21 AM
04-13-2007 12:19 PM
04-16-2007 01:28 PM
Azazel:
I am pretty sure you meant to say that when you are using "Zero Crossing Pt by Pt.vi", you can accurately determine where the zero crossings have occured (by looking at crossing indicator). However, when you use "Zero Crossing.vi" and pass in the same array of data points, you do not get the proper results. This is because "Zero Crossing" takes in an array of data that represents multiple signals. The confusion is that if you pass a 1-D array of data, it is analogous to the data sampled from multiple signals at the same time. I know this is confusing which is why I put together an example to illustrate my point. I have a 2-D array of data that represent two signals with 10 data points each. Please go through that example and let me know if it helps.
Regards,
Rudi N.
07-31-2013 05:54 PM
08-01-2013 06:40 PM
Hi glskinner,
Can you provide more details for your question?
08-02-2013 10:55 AM
I'm trying to pass an analog signal that has a 1d array datatype through a point to point crossing.vi. I don't think it will work because the output for this p2p.vi ends up having an Array of Booleans.
08-02-2013 10:56 AM
http://forums.ni.com/t5/LabVIEW/number-of-samples-and-zero-crossing/td-p/2510098 This was my original question.
08-02-2013 06:33 PM
Yes the zero crossing P2P VI only passes out a boolean value corresponding to whether or not the input has just crossed the zero point (true when cross is made). You should still be able to pass in the 1D array, it's just that the VI will output true everytime the cross is made from positive to negative or vice versa.
08-05-2013 08:16 AM
Well, I modified the p2p to check values other than zero. It will only take a scalar threshold value, not an array data type. I think this was my problem.