LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI ran from tools menu does not work correctly

I have a VI that I created in LV7.0 and it works great in 7.1 now I am trying to get it to work in 8.0 and I get a very weird thing going on in 8.0 that I cannot understand. If I run the vi as is it works great it finds all the vi's in memory as it should but when it is run from the tools menu. (I did this by saving it to the projects folder) it does not find all the vi's in memory. So i started doing some debugging and found the code was OK. The I tried the example called memory monitor and when it is run standalone (ie double clicking on it in the example finder) everything runs great but when I save it to the project folder it does not show all the vi's in memory as it should. Does anyone have an explantion to this.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 1 of 4
(2,730 Views)
just giving a bump up to see if anyone came up with anything



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 2 of 4
(2,721 Views)
Hello Joe,
 
Yes, this is the result of a fairly significant change in LabVIEW 8.  LabVIEW now has more than one "sandbox" so-to-speak such that you can have multiple copies of the same VI (or different VIs with the same name) in memory at the same time.  These separate "sandboxes" are referred to as "Application Instances".  VIs launched from the menus run in a different application instance than user VIs do.  Page 11 in the LabVIEW 8 Upgrade Notes, section header "User VIs", discusses in more detail this issue and what you can do to achieve the old behavior.
 
 
Hope this helps!
Message 3 of 4
(2,717 Views)
I fixed the Vi using this method by Kennoncotton http://forums.lavausergroup.org/index.php?showtopic=2165. It is kind of a useful tool if you use a lot of graphs. I interested please post.



Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 4 of 4
(2,703 Views)