LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

looking for zero crossing point

This thread hasn't been posted to in over half a year. Id suggest starting a new one. Also, because as you said your voltages are 0 to 5 how will you ever cross 0? Crossing zero requires both a negative and positive number.
0 Kudos
Message 31 of 35
(2,013 Views)

I found the discussion here useful and thought I'd post my own solution to this problem.  Attached is a VI that finds all zero-crossing points, producing an array of indexes corresponding to the sample just before the crossing point (since in most cases, there is no sample exactly at zero).  The VI also ensures that the waveform terminates exactly at zero, but that is superfluous to this discussion.

Message 32 of 35
(1,932 Views)

thank you !

but i have a small doubt, how i have to apply this for a biomedical signal.

 

0 Kudos
Message 33 of 35
(1,019 Views)

thank you !

but i have a small doubt, how i have to apply this for a biomedical signal.(from bio medical toolkit \read bio signal\ eeg signal)

 

0 Kudos
Message 34 of 35
(1,019 Views)

I made a minor edit to the zero crossing code to coerce incrementing the next starting index when the zero crossing occurs at a whole number with no fractional part.  

0 Kudos
Message 35 of 35
(768 Views)