12-25-2012 02:06 AM
I have attached my code here. In that attachment when i clicked Add surface its processing it very well.And once its processed I can able to click any other buttons in the front panel which means front panel is blcoked. I checked it with probe it seems event structure is got over and its coming out from the evnt strucutre.
Please help me in this. I am totally stucked with this and couldnt move to next step.
Note : I am very new to Labview
12-25-2012 02:16 PM
Your block diagram is too large to see properly. Please use block diagram cleanup to get rid of the extra space, then do a little further cleanup. Your front panel is a little large as well.
You do have an event case set to lock the front panel. "Spreed Sheet: Value Change". (You might want to check your spelling on that.)
Plus you have the event structure buried two levels deep in case structures, which means you need to have the proper combination of boolean conditions met in order to have the that case of those case structures to execute in order to be able to handle the events that get queued up.
You should read Caveats and Recommendations when Using Events in LabVIEW.
12-25-2012 03:05 PM - edited 12-25-2012 03:08 PM
@RavensFan wrote:
Plus you have the event structure buried two levels deep in case structures, which means you need to have the proper combination of boolean conditions met in order to have the that case of those case structures to execute in order to be able to handle the events that get queued up.
There are actually several events strucures buried inside while loops inside event structures inside case structures. Some running in parallel to other while loops This will never work correctly.
Also, please don't create events for unnamed controls. That's just way too obfuscated!
What's the reason for all the value property nodes?
12-25-2012 08:18 PM
@altenbach wrote:
There are actually several events structures buried inside while loops inside event structures inside case structures. Some running in parallel to other while loops This will never work correctly.
Ouch! You're right. I just didn't drill down deep enough.
The best thing to do is to close LabVIEW. Find this .vi file within the folder and file system. Right Click, and pick Delete.
Blow this up and start over.