07-28-2009 08:53 PM
Hi Everyone!!
I am trying to simulate an occupancy detection control using LABVIEW. It uses 2 infrared sensors at 2 different horizontal distanceson the door!
If IR1 first detects the presence of the person followed by IR2, Entry is asserted and vice versa for EXIT!!
But my problem is "how to make LAbview detect the Delay od the 2 signals and respond accordingly!!
Please help guys. I have also attached a pic to get the prob more clear!!
07-29-2009 02:55 AM - edited 07-29-2009 02:58 AM
Hi Rishabh,
see the attached example. Maybe there is an easier way, but i didn't found it now.
Hope it helps.
Mike
07-29-2009 03:26 AM
Mike,
Can you please post this for lv 8.0?
07-29-2009 06:17 AM - edited 07-29-2009 06:20 AM
Hi muks,
here it is.
@Rishabh
you should also add a timeout. Maybe someone enter IR1 but not IR2, then you have to reset the event from IR1 after some time.
Mike
07-29-2009 06:20 AM