LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Event Structure to increase a value while pressing a button

Solved!
Go to solution

Wow. Many Thanks !!! Smiley Happy

I knew that my code is not very perfect... that was a first try to get it work.

But with your solutions (altenbach and lucither) i have a great, clean sample !

 

0 Kudos
Message 11 of 15
(809 Views)

Also note that in newer LabVIEW versions we have the in place element structure, simplifying the code even more....

 

Message 12 of 15
(804 Views)

Hi Ralph,

 

Just made a couple of improvements to the original. Now immediately exits when mouse depressed (Before would of waited 1 multiple of wait time). Also has upper and lower limits, wasnt a problem before as you where using a control but needed when using an indicator.

 

Rgs,

 

Lucither.

------------------------------------------------------------------------------------------------------
"Everything should be made as simple as possible but no simpler"
Message 13 of 15
(789 Views)

to altenbach:

OK. I have not a really new Labview Version, but we use it mostly for our testing stands. And this code is written and doesn't change or grow much. So the need for an update is not very essential.

This problem is the first project for a customer, where we programm a user interface for a panelpc.

But thanks for your help !

0 Kudos
Message 14 of 15
(786 Views)

to Lucither:

I have already used the code for the limitation from 0...100 in earlier test vi's. And i added a start delay time, so that the interface works smoother.

thanks for all.

0 Kudos
Message 15 of 15
(781 Views)