LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Thoughts on how LabVIEW handles checkout of file from SCC when file already open

When you already have a file/project open in LabVIEW and it is set to read only because you haven't checked it out, you can go into SCC and do a checkout then save the file immediately. The issue with this is, if your local copy doesn't match the copy in SCC, you will probably be overwriting changes. Sometimes this is convenient because if you have ever edited a MS Word file and then gone to save and it won't let you because it was opened as read-only...then that sucks because you either lose your work, or have to do a copy of the entire word file->close the program->re-open as writable, then paste. This can be avoided with the "LabVIEW way", but the "MS Word" way seems much safer because it forces you to conscioiusly make the file writable (by either checking it out or manually write clicking and changing to writable) BEFORE opening it. I just wanted people's opinions on how LabVIEW handles this, and if there would be a better way.

0 Kudos
Message 1 of 4
(2,556 Views)

What SCC package are you using? With Subversion the whole matter becomes a non-issue since conflicts are resolved when you commit back to the repository.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 2 of 4
(2,547 Views)

VSS Smiley Mad

0 Kudos
Message 3 of 4
(2,530 Views)

Are you using any source control integration with LabVIEW?  At least with Perforce, and I assume with other SCC providers, when you check out the file within the LabVIEW development environment it will ask you if you would like to get the latest version and if you do so, it will reload the VI after retrieving the latest version.  I believe there is a source control provider for VSS that LabVIEW can use.  Lower-cost editions of LabVIEW do not include source control integration so you may not have access to it.

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