02-03-2015 12:06 AM
I want a VI that would increment a counter every time a boolean gives a true value. In other words, every time a switch is pressed, the counter should increment to the next whole number and so on.
Solved! Go to Solution.
02-03-2015 12:35 AM
02-03-2015 12:40 AM
I am new to LabVIEW and just have a basic knowledge of it. Although i'm aware of shift register, im not accustomed to event structure... im enclosing a rough idea i made to vi..
02-03-2015 12:43 AM
02-03-2015 12:46 AM
i dont think this works, let me look up event structure
02-03-2015 12:59 AM
02-03-2015 01:10 AM - edited 02-03-2015 01:39 AM
set mechanical action of your button to switch until release, if you want yor increment is every click is increment by 1
02-03-2015 02:01 AM
i liked the idea of event structure, implemented it with some local variables .. it works fine
02-03-2015 02:05 AM
thanks for your support, i used event structure and local variables and implemented this application which increments the counter when swittch 1 is pressed and decrements the counter when switch 2 is pressed, and glows a light when the value of the counter is greater than 0.
02-03-2015 02:23 AM