Log in

View Full Version : Counter in Labview


ThisIsSparta
19-02-2011, 12:05
I need a way to be able to make a counter in Labview for an arm program. The Idea of the program is to revive a Boolean input from a sensor on the arm and count up these inputs. Any help would be much appreciated!

Alan Anderson
19-02-2011, 15:38
WPI Robotics Library -> Sensors -> Counter

Open a DIO for the switch input, wire its Device Reference through a Digital Source function to a Counter Open, and save the counter's Device Reference using a Refnum Set.

ThisIsSparta
20-02-2011, 11:31
It was right under my nose the whole time, thanks for the help!
But there are multiple modes of the counter, which one is just for a basic count up from a digital input and reset to zero when prompted?