From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-08-2008 03:22 PM
07-08-2008 05:11 PM
I haven't used a Functional Global for vi's that were not part of a project.. so my comments are purely from a curiosity point of view.
I would have expected it to work, as long as the vi's that are not in the project were calling the Functional Global that was in the project (full path and same name).
I wonder if there are safeguards to prevent a Functional Global from sharing data with non-project members, in order to protect the integrity of the Functional Global data... Although I doubt it, it would be an interesting feature if it did.. After all, a Functional Global is just another VI. And then again, I haven't called any VI's by using another VI which is not part of the project..
I am curious. Did you make the Functional Global a re-entrant VI? (it shouldn't be). Is it calling the exact same Fn Glbl (exact path & name)? Did you at any time make a backup copy by selecting the project directory in Windows and then copy & paste to another location?
R
07-08-2008 08:40 PM
07-09-2008 07:28 AM
StevenA wrote:
The instance outside the project is a clone of the vi that is in the project. The project protects data that is part of it's namespace from outside callers.
07-09-2008 07:31 AM
07-09-2008 07:41 AM
07-09-2008 08:07 AM
07-09-2008 08:08 AM
Here are some more details about the method Ben mentioned (and an example).
07-09-2008 08:10 AM
Thank Yair!
I was thinking of including a link to that thread but was just to lazy to go looking for it.
Ben
07-09-2008 02:32 PM