Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6009

how to analyze pir sensor (re200b not module) data read from usb 2009 using labview?

 

if motion detected the sensor output will be a positive and negative pulse right? 

 

thanks 

0 Kudos
Message 1 of 4
(3,780 Views)

Hi,

 

Thank you for contacting us.

 

You can find the Specification Manual of re200b here: http://www.bucek.name/pdf/re200b.pdf

On the 4th page you can see the tipical wiring of the sensor and you can see the output signal versus the movement direction.

You are right, the movement generates a positive and negative pulse, for further details you should measure it.

 

You can use USB-6009 for the measurement. You can download the NI-DAQmx dirver from http://ni.com/support/daqmx .

You should use DAQ Assistant first in LabVIEW.

Getting started with data acqusition: http://zone.ni.com/devzone/cda/tut/p/id/3536

 

I hope it will helpful. If you have futher questions, please write again.

 

Regards,

Peter

Peter Vago
0 Kudos
Message 2 of 4
(3,769 Views)

Hi,

thanks for your concern.

I have the data sheet and I know how to use daq assistant.

My question is how should I tell labview to read a +ve followed by -ve signal?

or it may solve by only measuring voltage change in reference (if the output was zero all the time unless it detects movement)

I know that it can be known by trial, I wante to take the advice of those who have tried it.

thanks again

regards

0 Kudos
Message 3 of 4
(3,694 Views)

Hi,

 

If I understood well you would like to detect the positive and negative pulse in sequence. You can do this with "state machine" structure in LabVIEW: http://zone.ni.com/devzone/cda/tut/p/id/3024

I hope this will be helpful.

 

Regards,

Peter

Peter Vago
0 Kudos
Message 4 of 4
(3,658 Views)