Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Inverting Up/Down Counter Input (http://www.chiefdelphi.com/forums/showthread.php?t=102561)

ThisIsSparta 11-02-2012 15:38

Inverting Up/Down Counter Input
 
I'm trying to use the premade Up/down counter to count the number of balls in the robot. Two IR sensors give out a digital input that can be plugged into the up and down sources on the counter. The problem is, the sensors give a natural true when nothing is detected, and give a false when something is detected. I know that normally when using them as straight up digital inputs a simple not function, ut with the way that the DOIs plug into the counter Open VI, using the Dig Src, I don't know how to invert the outputs of the DIOs so that the counter functions properly. (with the sensors as is, uninverted, they constantly add and subtract one so that the output is useless) Thanks in advance for any help!

Joe Ross 11-02-2012 15:52

Re: Inverting Up/Down Counter Input
 
The counter open in up/down has inputs for whether it should trigger on the rising edge, falling edge, or both edges. It sounds like you want the falling edge.


All times are GMT -5. The time now is 11:21.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi