07-01-2011 06:46 AM
I am new to labview and am having a difficult time figuring out problems with my program. I enable the highlight execution and even with my small program I lose track of the current execution point. When I finish this program it will be much larger than what it is now so I imagine there is a tool I cannot find to take me to the execution point of the program. I don't want to post to much of my actual problem here so this post doesn't lose direction for future searches but to keep it general any insight with maybe a quick list of common issues to cause the front panel to lock up would be helpful in my paticular problem. When I say lock up the program is executing but all controls are inactive. Thanks in advance
07-06-2011 01:42 PM
Good Afternoon,
Have you tried using probes as a debugging tool instead of highlight execution? This will allow you to see if the values are updating even though the front panel is locking up. Also, you can turn highlight execution on, run the program, hit the pause button, and then step through each specific function you are performing.
Do you think you could post screen shots of what you see on your front panel when it locks up?
-Cody C
07-06-2011 02:16 PM
I appreciate the reply. I figured things out but your response was correct. I thought I needed the highlight execution to use the probes which was incorrect. As for my issue it took a few days to figure things out but for any other newbies, DO NOT TRY TO USE MORE THAN ONE EVENT STRUCTURE. I tried to use multiple event structures that have long execution time (I think due to the arrays I am using) and I finally figured out that if an event was not finished executing and another started it would not buffer/que the events. I find it interesting that instead of disreguarding the second event it actually locked up. I actually had to put my event structure in a while loop running parellel with my main program to get things to execute properly. Without doing this my iteration counter completely stopped in my main program while loop. Program is working perfectly now. I think most of my issues were due to the array and functions I am performing on it which seems to really cause execution time to drag (2000 ms for some of them). My array is 20X400X400 if it helps.