09-22-2008 05:27 AM
Hello,
If I have digital signal originating from optical barriers and want to extract time (for a body that passes these 2 barriers) how can I extract that time using Labview.
thx
Solved! Go to Solution.
09-22-2008 06:52 AM
Hi Chata,
Thanks for the post!
I was wondering if you could post an image of this signal. What aspect of the signal tells you that it has passed through these barriers?
Are you trying to find out the time between the 2 barriers?.. some more detail would help greatly.
Kind Regards,
09-22-2008 06:59 AM
09-22-2008 07:18 AM
Hi.
So would this signal have peaks?
What do you mean by barriers?
Kind Regards,
09-22-2008 07:28 AM
hey,
I'll get back to this when I see the signal.
09-25-2008 02:43 AM
09-25-2008 06:49 AM
I chata,
Thanks for the reply, and I hope your well.
Here is an example Ive done for a customer, who wanted to find out the time of a flat section of his waveform.
In your case, you would need to do a peak detection on both codes, and then minus the locations and do some x by sample number to get time.
Let me know what you think.
Kind Regards,
James.
ps sorry code is a bit rushed.
09-25-2008 07:39 AM