08-03-2010 08:33 AM
Hi all,
I have four folders with vis and four lvlib files that contain information on the vis in the four folders, similiar to below. All my codes are in TFS source safe, and I found it difficult to keep the lvlib up to date, since I have to check in and out. Is there a way to setup a lvlib file, so that the file will look for new vi added on a particular location and modify itself? Thanks!
Yik
Folder 1
Folder 2
Folder 3
Folder 4
Folder 1.lvlib
Folder 2. lvlib
Folder 3. lvlib
Folder 4. lvlib
08-03-2010 08:40 AM
If you do a search on source code control utilities you will find that SourceSafe (even the TFS version) is pretty much at the bottom of the recommendations list, if not all-together off the list. That said, you cannot have an lvlib "modify itself" automatically. I don't quite understand the difficulty you're having with modifying the lvlib, and what this has to do with SourceSafe.
08-04-2010 04:00 PM
Hi Yik,
There is not an easy way to do what you are doing. You might try creating virtual folders and placing all the vi that were in that lvlib inside of that folder.
08-04-2010 04:05 PM
If I understand you correctly you want to set up the LVLIB to be auto-populating?
That sounds counter intuitive to me. For me the Project environment is leading. I don't really care how the VIs are stored on disc. When I create a new VI I place it in a general folder, when I decide the VI should be in an LVLIB I move it into the lvlib.
What you could do is add an auto-populating folder to your project, if a new VI arrives it will be added to this autopopulating folder. When a VI is then moved into the lvlib, it is removed from the auto-populating folder.
Ton