08-31-2007 04:20 PM
09-01-2007 02:41 AM
Another weird thing is that if you kill the shell and reopen Main, and kill that too (lots of killing), you'll notice that VI 1 is still running even though nothing about it is still open or calling it or anything.
You run Main.vi, and it will launch the shell and close itself,...
My problem comes from... say you click VI 1, then click Go Back, then click VI 1 again, you get an error. If you investigate a little, you'll see that the VI reference that it's passing is suddenly invalid.
09-05-2007 10:36 AM
09-05-2007 03:38 PM
@wpolk wrote:
What do you mean when you say:
Making a class-like SubPanel-driver allows SubVIs to register themselves?
Well, I could have left-off the "class-like" - though that's the way I think of these little "drivers" that encapsulate object properties and functions - they represent the object (in this case the Shell SubPanel) within the application. ![]()
It's not necessary for Main to send a Notifier to the Shell at the same time that Main launches a SubVI - why not let a SubVI can make itself visible (in Shell) by calling the "Register" Function on the "SubPanel-driver"?
Cheers!