04-20-2016 04:06 AM
Hi all,
Just a short query:
Me and my colleague want to develop two different parts of the same LabVIEW project.
Is it possible to work on the same LabVIEW project from two different systems simultaneously? (If LabVIEW project is saved on the network shared drive of the company)?
P.S: Connection to RT Target is required for only 1 Host PC.
Thanks in advance!
Best Regards,
Rahul
04-20-2016 04:26 AM - edited 04-20-2016 04:26 AM
04-20-2016 06:15 AM
A software code control software will be essential. But merging the project file can be interesting. If you are brand new to the whole SCC thing, I recommend Tortoise SVN. It is a Windows Explorer interface that is simple to use.
04-20-2016 11:05 AM
I agree with Crossrulz -- use a Version Control System, Tortoise SVN is pretty good (though you need access to a Subversion server), and Project merging "mostly" works. I must say that working with a team of one (BS at work and BS at home), SVN is a wonderful way to keep synchronized (as long as I remember the rule "Commit before leaving and Update when starting"), but now that I'm doing some "small team" (2-3) work, we do occasionally "stomp on" each other's files (usually because someone "forgets" to Update First, Commit Last.
There are two types of Collisions that can arise -- LabVIEW VIs and Controls, and LabVIEW Projects. The VIs and Controls you can figure out using the LabVIEW "Compare" utility -- rename "My Bad.vi.r001" and "My Bad.vi.r002" to "My Bad.vi.r001.vi" and "My Bad.vi.r002.vi" (just add ".vi" to the end). Now Compare will work. Figure out which you want, delete the others, and rename the "good" one by deleting the final ".rxxx.vi" extensions.
If the Project is corrupted, and you've been clever enough (or, perhaps, foolish enough) to (a) have your Project all contained within a single top-level file folder (with sub-folders underneath, perhaps), then I usually just delete the Project file(s) and recreate it, doing an "Add Folder (snapshot)" to "get everything" and discard what I don't want (like .aliases and possibly Documentation).
Bob Schor
04-20-2016 02:16 PM
My advice - split apart your architecture into components and develop each solely within a project library. That way a project can reference the libraries but not their content and avoid any messy merging problems.
04-20-2016 03:58 PM
The VIs and Controls you can figure out using the LabVIEW "Compare" utility -- rename "My Bad.vi.r001" and "My Bad.vi.r002" to "My Bad.vi.r001.vi" and "My Bad.vi.r002.vi" (just add ".vi" to the end).
That's usually unnecessary if you set up TortoiseSVN to do it automatically...
How to set up TortoiseSVN to use LabVIEW compare utility
05-09-2016 03:33 AM
Thanks all for sharing your ideas and all possible solutions.
Really appreciated.
Kudos,
Rahul