View Single Post
  #2   Spotlight this post!  
Unread 23-12-2008, 23:13
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,751
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Opening Labview Programs : Desktop Only???

When LV saves a hierarchy of VIs, it saves a relative path from every calling VI to every subVI. So if VI A calls B calls C, then the saved version will have a relative path from A to B saved in A, and a relative path from B to C saved in B.

This works well in most cases, but if you move things around on disk, the relative path will no longer work. When LV loads a VI and that VI references subVIs, it takes the relative paths to subVIs, combines them with the VI to get the expected path to the subVIs and tries to load from that location. If the file doesn't exist there, it then checks to see if it is in memory, then starts down the search path which includes vi.lib and other locations.

Anyway, it is likely that there is something you are doing to the disk files that is causing LV loading to fail. Hope this helps.

Greg McKaskle
Reply With Quote