11-06-2013 06:46 AM
hi there, i need some help on my project.
now im doing a motion detection but is using labview to control. so is there anyone had done this before or there is such link to the one i needed help??
1) im using a PIR sensor to connect to my labview
2)quite new to labview and unsure how to start with a simple motion detection on labview.
thanks in advance
11-06-2013 04:40 PM
11-06-2013 04:49 PM
This is actually quite trivial since those PIR detectors just change a digital logic line when something moves into their view. Any DAQ module with digital inputs would work fine. Just look at the examples that ship with LabVIEW. Help > Find Examples > Hardware IO > DAQmx > Digital Measurement
On the cheap you could even press your PCs COM port into service to read up to four PIR sensors using the handshaking signals. ( See the Troubleshooting Serial Line Monitor.vi example)
11-12-2013 06:25 PM
11-12-2013 06:53 PM
@xrty wrote:
Thanks for all the advice but I'm still stuck like how can I really use DAQ to configure my PIR sensor so that when there is movement the labview will show a LEF that will light up??
Connect PIR to DAQ
Read from DAQ (Measurement I/O Palette)
If PIR value changes (movement), then tell the led to turn on (otherwise tell it to turn off).
Repeat.
11-13-2013 12:14 AM
11-13-2013 08:57 AM
You need to tell us which DAQ card you have or we can't give you much more help.