LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Panel size event acts first in dialog VI?

Appearently, the event 'panel size' occurs first when a dialog subvi is called. This will cause issues if a one time timout is used. Can someone please confirm that this is true?

I have attached a caller and subvi to demonstrate. When the dialog is called, the index should show 1, indicating that only one event was executed, but in this case it shows 2.

Download All
0 Kudos
Message 1 of 3
(2,721 Views)

Hi Drazen,

 

Actually, the Pane Size (panel resize) event will occur twice as your sub-vi front panel is opened: first when the resizing begins, and again when the resizing is over (when LabVIEW sees that Old Boundaries and New Boundaries are equal). So, the 2 you see immediately in the indicator on the sub-vi is for both panel resize events. A timeout event when the timeout is set to zero initially never occurs because the VI registers the panel resize event first.

 

I hope that clarification will help you develop your application!

Product Support Engineer
National Instruments
Message 2 of 3
(2,690 Views)

Thanks LaRisa,

 

It took me a while to figure this out.

0 Kudos
Message 3 of 3
(2,687 Views)