LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Buttons not responding in labview 2011

Has anyone seen this?  Is this a bug in labview 2011sp1?

 

This is the second time within a few weeks that my program will not respond to any buttons.  These are regular "Latch when release" buttons and do not respond when pressed.  When highlighting the execution, False is shown going to the case structures.  I can restart the vi, reboot the computer, but it still will not work.  If I make an edit to the code, everything works again.  My edit was only changing a comment, so no real code editing.

0 Kudos
Message 1 of 7
(3,993 Views)

Looking strange.. Are you getting LabVIEW Not Responding error when you try to click on the controls?.  Did you try placing a break point inside the "True" case of the case structures? If not do it if it breaks in the True case structure then there is not problem with LabVIEW.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(3,991 Views)

No errors, the buttons stay toggled and False continues to go to the case structure.  I didn't think of putting a break point inside the True case, but if it happens again I can do this.  I just thought it was strange since there is nothing going on in the code unless a state goes true.  You can't get any more simple than this.  Also the Stop button does not work when this is happening.

0 Kudos
Message 3 of 7
(3,985 Views)

Please, post the VI, I want to see it Smiley Very Happy

0 Kudos
Message 4 of 7
(3,980 Views)

So its not happening always only on some time inconsistently? Because your code doesn't has anything to get locked up (This may happen if an event structure is not properly used/handled).

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 7
(3,978 Views)

It is has only happened twice in the past few weeks.  I can't seem to re-create the problem.  This code has been used on many projects, so it should be ok. 

 

I would post the code but it would require some effort since this launches vi's that have a lot of sub-vi's and other stuff.  Also since it is currently working, I'm not sure it would be any benefit.

0 Kudos
Message 6 of 7
(3,974 Views)

What are the subVI's doing?  Perhaps one of those are locking the front panel, perhaps through an event structure that is handling an event, locking the front panel, but never executing because it isn't in the path of execution.

0 Kudos
Message 7 of 7
(3,954 Views)