Example Code

Event Counter

Code and Documents

Attachment

One of the most frequently needed functions in Labview is the ability to count the number of events, such as changes of data states, keystrokes, noise pulses, etc. Because of the data flow nature of Labview achitecture, events are not "natural", hence there is no simple "event counter" node. I have created a reasonable facsimile thereof, for any application where X-number of events must be counted, without the use of external hardware.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors