03-11-2009 09:43 PM
Hi all,
This is a cross post from LAVA.
I have recently installed Perforce on our server
(P42008.2) and Perforce Client (P4V/NTX86/2008.2/188141) on our
developers PCs (WinXP SP3, LV Full Dev Suite).
I then configured LabVIEW SCC, telling it to use
Perforce Command Line and told LabVIEW where to find the server etc. I
then moved an existing LabVIEW Project to my workspace folder and opend
it in LV, right clicked on the top level VI and selected "Add to Source
Control...". A window popped up showing me all the dependencies of the
top level VI and clicking OK displayed a window telling me that each
file had been added to the depot as " - opened for add". I click OK and
LabVIEW does not indicate the files are in SCC.
I then switch to the
P4V client window and submit the changelist (adding the VI and it's
dependants to Perforce). I repeat this process for the .lvproj file and
voila!, the project is in Perforce. Back in LabVIEW however there is no
indication the project has been added to SCC (no check in/check out
glyphs on project icons) and when I right click on the project, I only
have the option to "Add to Source Control..." again????. Of course
trying to add the project to SCC again thows up erros about existing
files etc.
What am I doing wrong??
PS I have tried this with LabVIEW 8.5.1 and 8.6.
03-12-2009 03:19 PM
Hi,
Did you configure Preforce and SCC as instructed in these two articles?
http://zone.ni.com/devzone/cda/tut/p/id/4631
http://digital.ni.com/public.nsf/allkb/B371AC6D6CCE335E86256CE2004A5853?OpenDocument
12-27-2010 04:39 PM
I realize this thread is over a year and a half old, but I just ran into a similar problem and wanted to post the solution that worked for me in case anyone else has a similar issue. In my Perforce client specification, the root path was defined as C/Projects/... Perforce will accept the forward-slash (/) and work correctly, but apparently LabVIEW will not. After changing the path to C:\Projects\... it works properly.