01-04-2008 05:49 AM
01-04-2008 06:26 AM
01-04-2008 07:52 AM
Hi Gabi,
The Project has not been around very long but it is generally recomended that the Proj structure should match the HD.
Since I organize my stuff that way the Source Distribution satisfies my needs.
Can you please elaborate?
Although i haven't written anything yet, it appears all of the properties you need are available.
Trying to help,
Ben
01-04-2008 08:07 AM
Dan thanks i was just trying that, but got over my head, since in the new project i still have to tell where every subvi is physically. just the copying to a new directory doesnt update the info in the project explorer. so problem not yet solved.
Ben - yes i begin by arranging all in the HD and create the project from that. yet, sometimes in the project, as it evolves, i add folders, and want to rearrange subvis to be in other folders. then, easy would be to copy directly the new hierarchy to a new place, and it would then match -project to HD.
right now my only solution is 'save as-substitute original' of every subvi that change place in the project, to make it match the HD, with the ensuing enormous mess in my HD. then, i build specs to new location, and everything ok.
01-04-2008 08:14 AM
01-04-2008 08:16 AM
Try...
1) Find the top sub-VI that you want to move and do a source distribution to get into a clean form.
2) Close all VIs.
3) Open the top level VI you produced in step #1.
4) Open the top level VI of your app (Tree.VI). LV will load the sub-VI's from the new location.
5) Save all.
6) Source distribution of entire app to fresh folder.
7) Delete everything from the original folder.
😎 Move the code from step #6 back to the original folder.
All of the orphans should be gone and your code organized as you like. Update the project to match the HD.
Not sure if that helps you!
Ben
01-04-2008 08:28 AM
01-04-2008 08:29 AM - edited 01-04-2008 08:32 AM
Ben thanks, yet it does not help me: doing that to every single subvi i ever moved around??
As Ton pointed out, i use the project to manage the whole thing. files get moved around all the time, and i do not care too much about what is happening on the HD, as long as i am developing. but to keep a clean copy of the project, this is impossible. (his is very useful, allow me to retrieve vis from old projects without opening their explorer to find them.
Waldemer: thats what i am doing today. but again, my projects have quite a few vis (in the few hundreds sometimes), and i cant remember which i did move. on the fly, i hate to stop my line of tough (or length of wire), to deal with these issues, so i dismiss them, until cleanup time...
01-05-2008 11:28 AM
01-05-2008 12:28 PM