LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuration LV8.0 MS SourceSafe

Hi all
 
Could anyone help me on this:
 
I just switched to LV8.0 and I'm now trying to configure MS SourceSafe and LV8.0, so that I can check in/out the vis from within the project explorer.
In MS SourceSafe I have the following structure for all projects:
$/ (root)
 - Project X
    - Source
    - Documentation
    - Install
 
When I configure it in the LV options dialog, I have to select the "Source Control Provider Name" (which is MS SourceSafe) and a "Source Control Project". Now which project do I have to select there? Somehow this is not clear to me.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 1 of 9
(3,527 Views)
Based on your project hierarchy you'd select "Source" and then it will ask you for the local folder that you will be using as your working folder.
0 Kudos
Message 2 of 9
(3,512 Views)

Yes - but I don't want to always change this setting, when changing the project I'm working on.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 9
(3,508 Views)
You didn't say anything about wanting to change this on a per-project basis in your original email. As fas as I know the source control settings are global for the application instance, and not set on a LabVIEW project level so you would need to manually change the project to point to in SourceSafe when you switch projects.
0 Kudos
Message 4 of 9
(3,503 Views)

Yes, you're right. I did not clearly express this in my first post.

But if this really is the way you say, I think the whole thing is useless.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 5 of 9
(3,492 Views)
Well, I wouldn't say useless as that's a bit extreme, but I can understand your comment. I use SourceSafe for version control, but I don't use it from within LabVIEW since I switch projects often, and have encountered this same problem. So I end up doing my check-in/check-out via the SourceSafe client.
Message 6 of 9
(3,487 Views)
I tried to use SourceSafe from within LV6.i and gave it up very quickly. Now I just thought new version - new try. But obviously there is still not a better solution available and I'll do it the same way as you do.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 7 of 9
(3,481 Views)
One thing that I thought of that you may want to try is to write yourself a little VI that changes the keys in the labview.ini file to specify the SCC settings based on the project you're going to work on. in LV8 the SCC settings are in that file. In LV7 they were kept in the scccfg.ini file. The labview.ini file is a standard INI file so you can update the keys using LabVIEW's config VIs. You could write this tool as an app so you can run it to update the labview.ini file prior to launching LabVIEW since this file is read when LabVIEW starts. Alternatively, you could use the OpenG tools. One of their toolkits adds a "Restart LabVIEW" menu item in the File menu, but I'm not sure if they've updated to LV8. So if you had this you could run your project select VI from within LabVIEW and then use the "Restart LabVIEW" menu item. May not be worth the work, but food for thought.
0 Kudos
Message 8 of 9
(3,471 Views)

But you still have problems, if you currently have a project open and want to open a second one.

Hm - I think I'll definitely use the SCC client. That's really easier.

Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 9 of 9
(3,464 Views)