11-26-2007 02:37 PM
11-26-2007 03:12 PM - edited 11-26-2007 03:13 PM
11-26-2007 05:21 PM
11-27-2007 01:15 PM
11-27-2007 01:35 PM - edited 11-27-2007 01:39 PM
Speaking only for myself...
i only volunteer on this forum so I can't spend a lot of time looking into a problem. If the question is clear and i think i have an idea, i'll reply.
In the case of this question, I am OK with your title but you lost me after that.
Sure I could look at your code if I had the right version on this machine but I suspect I do not. That means I would have to go to another machine, down load....
Sorry but I don't have time for that.
So...
please imbed images of your code so we can reply by looking and save us having to poke.
Now I'm guessing;
Are you try to do inter-thread communications? If so look at my Action Engine Nugget.
The next guess is that you are having trouble harnessing the data flow pardigm.
And as to your mini-follow Q I would guess "a" complicated by "d".
Trying to help,
Ben
PS: Watch how long it will take for Jim Kring to get an answer to this Q !
11-27-2007 02:26 PM - edited 11-27-2007 02:34 PM



11-27-2007 03:44 PM - edited 11-27-2007 03:46 PM

11-27-2007
05:02 PM
- last edited on
04-29-2025
03:11 PM
by
Content Cleaner
Hi DJ...
I think I can be of most use by pointing you at a KB on LabVIEW's Data Flow Pardigm here.
It would also be good for you to read the "Help for Insert VI" node then look at the examples. Same for the panel Close Event. The code you posted was a tangled little knot where you could not fire the event until you fired the event ... 
You should close all references that you open, after you are done with them.
Ben
11-28-2007 02:43 PM - edited 11-28-2007 02:43 PM
" (I hope).
11-28-2007 02:59 PM
Hi DJ,
I recomended reading the help for the Insert VI and look at its examples. The examples will show you how to run your VI's in the sub-panel and show where and how to close the references.
RE: Globals I rarely if ever use globals (Globals are evil!). I generally use Action Engines to fill that need. I posted a link earlier to a Nugget I wrote on Action Engines.
The help and the Nugget say much more than I could with a quick reply. Please review those help files and links and post follow-up Q's if they don't answer your Q's.
Quick guess at why your event approach is not working.
The panel close event only files when the FP is closed. Since you have open refs to the VI's and the are running in the sub-panels, their FP are not closing so their Panel Close events never fire. But this is just a guess about what I thought you were TRYING to do. So either read the help on the Insert VI and the panel close event or stick with the method you reported that works.
Still trying to help!
Ben
PS The Examples for the "Insert VI" show you exactly what you need to do. Take a look, please.