03-30-2004 10:59 PM
03-31-2004 09:24 AM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-31-2004 10:07 AM
03-31-2004 11:01 AM
03-31-2004 01:21 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-31-2004 05:14 PM
03-31-2004 06:19 PM
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-31-2004 06:25 PM
The focus is changing because the execution is changing (in the same thread). You have the VI with the graph execute, and then quit. This will lose focus.
My occurrence-based scheme had all child windows executing at the same time (different threads). This meant that the window on top had focus - no other window would have it until you clicked on that window (and brought it forward).
Hope that helps.
Blog for (mostly LabVIEW) programmers: Tips And Tricks
03-31-2004 06:53 PM
03-31-2004 07:41 PM
I fixed the focus problem by changed the window property to floating.
That's not a good fix - although the focus quits flashing, the windows don't - you can't control the Z-order (who's in front). Overlap the windows and see.
The occurrences simply controlled the launching of the windows, not the distribution of data. Once a window was opened, the occurrence played no part until that window was closed and opened again.
The key factor was that the code in each window was running at the same time as all other windows. Your scheme still has the window display new data and stop. Therefore you're tied to the fact that the parent has execution most of the time.
Blog for (mostly LabVIEW) programmers: Tips And Tricks