07-24-2008 03:57 AM
07-24-2008 06:40 AM
Hi, zav
We've got the same troubles with SCC/LabVIEW integration.
The problem that *.lvproj (as well as *.lvlib) files not refreshed in LabVIEW when you get the new version. Also data lost possible here:
- Developer 1 and developer 2 both opened project *.lvproj (but not checked out).
- Developer 1 has checked out *.lvproj, add few VIs and checked new *.lvproj and *.vi in. Developer 2 stays with opened *.lvproj.
- Developer 2 has checked out the *.lvproj file (now versions on the disk and in memory different), add new VIs, save project (now version on disc overwritten with version from memory) and checked it in back.
Now you lost the changes in *.lvproj which was done by Developer 1. You need to add the files which was added by Developer 1 again.
The same troubles with project options (Build/Installer configurations, etc)
Workarond is: after Checking Out/Get Latest Version from LabVIEW you need to close project and open it again.
best regards,
Andrey.
07-24-2008 07:27 AM
07-24-2008 07:29 AM
07-24-2008 07:42 AM
07-24-2008 08:19 AM
Hi, George,
We talking about Microsoft SCC provider, and assumed, that all SCC operations performed from LabVIEW IDE, not from SCC.
The problem that LabVIEW will not renew project tree when you check out or get latest version of the project from LabVIEW IDE. There are no problem if you will close project before, then get lates version from SCC, the open project in LabVIEW. But if all operations performed only within LabVIEW, then you can see what happened in the attachment. You can see, that also data lost possible even if you working with Source Code Control. And I guess, this problem absolutely independed from used SCC provider.
best regards,
Andrey.
07-24-2008 08:24 AM
07-24-2008 08:35 AM
07-24-2008 08:45 AM
Hi, zav,
SCC is very helpful for large projects, sure. Your VIs are safe. And normally when other developer working with project, then you will see blue mark on the project means that the project locked by other one. But in some cases you may get troubles (see attachemnt in the post above). So, you should be a bit carefully with lvproj and lvlib files. But SCC is very helpful, it is. Hopefully the "Get Latest" behaviour will be changed in a future. At least project tree should be renewed when developer would like to get latest version, and, optional, all missing VIs from the project's hierarchy should be delivered to the developer with this operation if they present in SCC (here is another small trouble if developer forgot to add some SubVIs to SCC - you have no chance to check if all VIs in project added to SCC or not).
Andrey.
07-24-2008 09:39 AM - edited 07-24-2008 09:39 AM