LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Incrementing a value based on a event

Hi,
I am stuck trying to increment a value based on an event within a while loop. Whenever the mouse is clicked, the value should increment by one. I am using LabVIEW 7.1 and any suggestions is greatly appreciated.
0 Kudos
Message 1 of 3
(2,390 Views)
Use a while loop and keep the current counter in a shift register. Inside the loop, use the mouse-down event to increment the counter. See attached simple VI example.
0 Kudos
Message 2 of 3
(2,386 Views)
Thank You so much. I keep on missing these little things.
0 Kudos
Message 3 of 3
(2,349 Views)