02-11-2010 10:30 AM
hi. i was use M-series in detecting the signal from inductive loop/. there are 2 inductive loop on the road. i hv successfully separate those 2 signal from DAQ assistant. but the problem now is how can i calculate the interval btween that two signal in order to get the speed between those two.
which means,
when, the 1st signal was blinking, the timer was start. then, when the 2nd signal was blinking, the timer was stop. and from that i can get the time interval to calculate speed which the distance i know.
02-12-2010 08:12 AM
02-16-2010 10:53 PM
as u can c from photo, the output is 2 signal. my problem is i dont know how to trigger an elapsed time between those 2 signal so that,
after the 1 signal blink once, then the time is trigger as start-up time, and when the 2nd signal blink once, the time will stop. then from that i will get the elapsed time between both signal
02-16-2010 11:01 PM
Wow, that really is a screen shot.
It would have been better if you posted your actual VI instead of a poor photo of your screen.
And Kate asked for what the signal looks like (as in the real world signal) not a photo of your block diagram.
What is the purpose of the 1 OR 0 in your picture?
Please post in English. I assume "u"= "you" and "c" = "see".
02-16-2010 11:08 PM
sorry for the photo... i wish i can, but i cant because it is not an ordinary pc. it is advantech cpu, so i was forbid to use my pendrive on it, and the cpu also was forbid to connect to internet..
but can you see the photo? or i will post another
02-16-2010 11:22 PM
No, I can see the picture well enough. But because it is a picture, you can't see certain things like how the DAQ assistant is set up.
How did you get the program on there if you aren't allowed to connect to it?
But you still need to answer the question that Kate asked, "What does the signal look like?"
02-17-2010 12:10 AM
You actually can configure DAQ Assistant to perform Acquire Signals>>Counter Input>>Two Edge Separation, and connect signal to a line suggested in DAQ Assistant.
One thing should beware is signal bouncing.
If there's such thing, try debouncing circuit as shown in http://www.ikalogic.com/tutorials/pictures/debouncing/debounce.jpg
02-17-2010 03:40 AM
thnx for the idea. actually, i used DAQ Assistant>Digital Input>Line Input. and, there is no problem for me to separate both of them. the problem is how to calculate the
time interval between 1st signal and the 2nd signal. here i attached my vi. i have tried so many times but still didnt get the solution.
02-17-2010 03:48 AM
02-17-2010 10:07 AM
actually i was assign to detect the signal using digital input. but i will try to use the counter input later if i can the same input as digital or not. did you going through my vi?
so what do you think in order for me to get the elapsed time between both signal.