LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

user interface

hi all,
 
I have some urgent problem that need to be solved. When i press on the start button on my interface it brings me to the next page as designed by my source code. but when i click on the end button the the next page , it brings me back to the main page and this time round the start button do not respond anymore( i.e cant bring me to the next page when i press on it again). Could anyone advise me? Attached is my programme.
 
Thank You.
 
Best Regards
 
 
0 Kudos
Message 1 of 3
(2,860 Views)
You're interior while loop doesn't terminate when you hit the End button.  You have a stop button off screen to stop it.  You should wire a constant out if the event structure to terminate the loop when the end button is pressed.

You've made your program much more complicated than it needs to be.  The event structure could handle your start button as well, and you would only need one while loop.
0 Kudos
Message 2 of 3
(2,846 Views)
You did not include any of the subVI, but I would guess that you can probably eliminate the "box0"..."box4", "bounce1"..."bounce12", etc VI into single "box", bounce", "arrow" VIs. Looks like you're trying to do some animation. Are you doing this with the picture control?

Also, many (if not all) of the sequence frames can be eliminated by using the error clusters.
0 Kudos
Message 3 of 3
(2,811 Views)