LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Source Safe lvlib

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

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 4
(2,929 Views)

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.

0 Kudos
Message 2 of 4
(2,928 Views)

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.

 

 

Joe Daily
National Instruments
Applications Engineer

may the G be with you ....
0 Kudos
Message 3 of 4
(2,906 Views)

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

Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 4 of 4
(2,903 Views)