Hi:
Here is a good one. I use a tab control for one of my VIs The VI page switched to depends on the run-time menu item selected. When the specific run-time menu item pertaining to one tab page is selected, an event-structure driven subVI is selected is embedded in a subpanel on that tab page. This subvi uses the 3d surface graph. When a new run-time menu item is selected, the subpanelled subvi is aborted to allow the code to proceed to a new code portion. Everything is fine except when switching to a new tab page, the 3d surface graph shows thru onto this (and all other) pages (see attached).
I added a 'not visible' property node for the surface graph in the exit event case for the subpanelled subvi, which works fine IF clicking on 'Done' (stop) button for that subVI. However, I was hoping to get rid of the 'Done' button as one ideally should not have to perform this extra step. The 'abort VI' process, though, prevents the exit event driven case from triggering. I thought about a 'User-event' triggering the exit case in the subVI based on the run-time menu changing in the main VI. Was not to keen on making it this complicated or whether this is even a viable strategy.
The frustrating part is that everything would work as planned if the surface graph would not show thru to the other tab pages. Thoughts are appreciated.
Sincerely,
Don