Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

please help with occupancy detection

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!!

0 Kudos
Message 1 of 5
(3,339 Views)

Hi Rishabh,

see the attached example. Maybe there is an easier way, but i didn't found it now.

 

Hope it helps.

Mike

Message Edited by MikeS81 on 07-29-2009 09:58 AM
Message 2 of 5
(3,326 Views)

Mike,

 

Can you please post this for lv 8.0?

0 Kudos
Message 3 of 5
(3,322 Views)

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

Message Edited by MikeS81 on 07-29-2009 01:20 PM
Message 4 of 5
(3,318 Views)
thanks mike
0 Kudos
Message 5 of 5
(3,314 Views)