01-14-2009 04:00 PM
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.
01-15-2009 03:06 PM
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!
01-15-2009 03:12 PM
Thanks LaRisa,
It took me a while to figure this out.