05-11-2010 12:11 PM
05-11-2010 12:17 PM - edited 05-11-2010 12:19 PM
Yes, you're right. They are faster outside the loop. I think Greg Mckaskle (sp?) posted the reasoning for this somewhere on the forum. I forgot (oops). And, I believe Raven is correct; they are not visible across projects. Have you tried testing the global on in separate threads on the same VI like this?
See if it works in a simple case like this. If it does, you know you have a visibility problem, not a problem w/in the FG
05-11-2010 12:24 PM
Ravens Fan wrote:
It looks like you have the functional globals in different projects. I may be mistaken, but I think a VI only has context within the project that it is in. The FG in a different project is in a different context.
Yes they are in different projects.
The FG.VI is in "Project-A" but it is also listed in "Project-B" as a dependency.
Is that not good enough?
Can I add just the FG.VI to "Project-B" or do I have to add the entire "Project-A" to "Project-B"?
I would rather not do the latter...
05-11-2010 12:55 PM
05-11-2010 01:04 PM - edited 05-11-2010 01:07 PM
Indeed it would appear that all VI's that reference the FG.VI must be in the same project. Do standard globals have that limitation?
This is disappointing to say the least as I was hoping for an elegent soultion to using standard globals.
I guess I will keep the idea of FG's in the back of my mind for use in larger "stand alone" projects.
The reasion I have two projects here is the comunication VI's are a seperate project that I did for our production test group. It is quite large and I would rather keep it "isolated" from the quick and dirty test VI's that I often have to throw together at a moments notice.
05-11-2010 01:48 PM