From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to activate functions on the front panel in run mode?

Solved!
Go to solution

Thank you for helping. Your solution about deselecting in the event case worked well. Thanks.

0 Kudos
Message 41 of 44
(362 Views)

Many of your event cases are set to "Lock Front Panel until Event Case Completes".  Event structures are always capturing events, even if they aren't in the path of execution.

 

Your VI is setup where the event structure is only in the path of execution early in the operation of your VI.  Once you get out of that, it is never in the path again to handle events.  So if one of those events happen, your front panel is going to lock up.

Message 42 of 44
(356 Views)

Good explanation Ravens Fan about event structures. I never knew that they are always capturing events even if they are not in the path of execution but it does make sense.

=====================
LabVIEW 2012


0 Kudos
Message 43 of 44
(350 Views)

@Steve Chandler wrote:

Good explanation Ravens Fan about event structures. I never knew that they are always capturing events even if they are not in the path of execution but it does make sense.


This is also a reason NOT to use several event structures in your code, esp. if distributed among different cases of a case structure. They can "interfere" with each other because of this behavior. Note: Works as intended!

 

Norbert 

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 44 of 44
(330 Views)