LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to ignore quick sensor signals?

I am currently working on a sensor which senses the presence of objects every 0.1s.

 

However, I only need signals(boolean signals)  which last for 1s(or more), any quick signal is to be ignored.

 

Is there any ways that i can achieve this programmatically?

 

Your help will be much appreciated!Robot Happy

0 Kudos
Message 1 of 4
(2,656 Views)

If you get a voltage change or something similar I would use pulse width to chek for this. Only look for a pulse width greater than ....

 

You really didn't give much information for me to help more.

Tim
GHSP
0 Kudos
Message 2 of 4
(2,631 Views)

Sorry for the inadequate information... Please allow me to elaborate some more.....

 

This is an automation system which will pause itselt upon receiving a TRUE signal from the sensor, and no action will be taken when the signal is FALSE.

 

There is an object flow in front of the sensor, and a TRUE signal will be given whenever an object passes by the sensor.

 

However, I only need those signals which last for a moderately long time( which represents that there is an object stucked in front of the sensor) to pause the system. Flashes of TRUE signals( this happens when objects passes by the sensor 1 by 1 in normal condition) should be eliminated. Otherwise, the system will jerk every time an object passes.

 

By the way, I am using PCI-7330 for the motion control and data reading.

0 Kudos
Message 3 of 4
(2,614 Views)

Please refer to attached screenshot.

Just replace boolean with signal from your card, and trigger is a signal output that you want.

0 Kudos
Message 4 of 4
(2,603 Views)