07-11-2005 06:56 PM
When I said use an event structure, I meant an event structure for the whole thing, See attachment.
Mike...
07-12-2005 07:49 AM
Hey Mike,
Thanks for the attachment and I appreciate your help. Between you and Brian I think I will be able to get back on track Thanks again for sending a piece of code to help me see how to make things work!
Charlie
07-12-2005 08:06 AM
Remember that the powerful thing about an event structure (and event-driven programming) is that it lets you break the overall job down into smaller managable tasks. For example: What do you want to happen when this button is pressed? What should happen when an other button is pressed, and so on. Then you put in the Timeout case anything that should be happening when nothing else is going on. Use the events properly and you don't need other lops and timers and things.
Mike...
07-12-2005 08:28 AM
Will keep that in mind. I was having a problem getting the other buittons to work properly in that I couldn't get another button to work once I clicked the first button. But with the code I received from you and Brian I think I can now figure out how it works.
I appreciate the Help... Charlie
07-12-2005 05:40 PM
Mike,
Just wanted to let you know that using the little piece of code you sent me made it possible for me to get back on track with my project! Plus I learned a lot from your code. It helped me see some of the logic errors I have been making. So I just wanted you to know that and say THANKS! Brian's code was helpful, but the extra steps you added gave me the information needed to make my code work right. I was thinking I would have to rebuild from scratch. Thanks to you I just had to rework my code!
Also the VI you sent me had Windows XP style buttons in Labview. Is there a way to convert my VI buttons to XP style without having to redo it? Just thought you might know if not no biggy. Anyway Thanks for all the help!
Charlie
07-12-2005 08:16 PM
07-13-2005 05:38 PM
Hey Mike,
Did as you suggested (switched to Classic Windows and back) very cool... I just want to say thanks again. your help has helped me get back on track and even a little ahead. That is a relief as I was thinking I would be behind. So hope to hook up with you on a future project and Again Thank You!
Best Regards, Charlie
08-03-2005 08:17 AM
Hello everyone!
I saw that you have had a problem with buttons. You said "I was having a problem getting the other buittons to work properly in that I couldn't get another button to work once I clicked the first button." and I think I am having the same problem. It's not the first time I have it but last time I solved it by copying and pasting others buttons of my front panel which did not have this problem. This time, this action does not solve the problem: once the button has been clicked, I can't click it again... and it seems creating errors in the whole program.
If you have ideas of where the problem comes from or better what i can do to solve it, i would be very pleased.
Cécile
Using LV7.1 with XP
08-03-2005 08:37 AM
08-03-2005 11:37 AM
Thanks, but I tried to change it and it's not the problem. Moreover, I did not have the problem before this week.
If any other idea, I'll try!!!
Cécile