Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Locking Front Panels

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

By default, when an event enters a queue, LabVIEW locks the front panel that contains the object that generated that event. LabVIEW keeps the front panel locked until all Event structures finish handling the event. While the front panel is locked, LabVIEW does not process front panel activity but places those interactions in a buffer and handles them when the front panel is unlocked.

Note  If an event case that locks the front panel takes a significant amount of time to execute, consider using the Set Busy function or displaying a dialog box to notify the user that the front panel is locked.

You can disable front panel locking for notify events by removing the checkmark from the option in the Edit Events dialog box.

  1. Right-click the Event structure border and select Edit Events Handled by This Case from the shortcut menu.
  2. Remove the checkmark from the Lock front panel until the event case for this event completes checkbox.
Note  You cannot disable this option for filter events, because LabVIEW cannot finish processing a filter event until its case completes. Allowing LabVIEW to process other events while it is handling a filter event could cause events to occur out of order.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit