11-03-2014 07:50 PM
My laptop has a LV "home license" so I can run it disconnected from my work's network. My source control, perforce, can run disconnected from my work's network, and I can sync back whatever I did when I reconnect.
Now, if I configure LV to use P4, and I'm disconnected, I have to wait a loooooooooooooooooong time for LV to tell me that it can't connect to source control, and then it disables the source control configuration. Trying to exit LV takes a looooooooooooooooooong time, then it shows a "Resetting VI" dialog, on NI_SCC_ConnSrv.lib:SCC_ConnectionServer.vi, and never exits!
Not very useful, actually outright annoying. I'm on 2012, is this better handled in newer versions? Or is there something that I didn't configure right?
11-04-2014
01:41 PM
- last edited on
07-18-2025
06:16 PM
by
Content Cleaner
Hello instrumento,
The first troubleshooting step to take is to make sure you configured LabVIEW correctly. Refer to the two links below for guidelines.
Configuring LabVIEW to Use Source Control
https://www.ni.com/docs/en-US/bundle/labview/page/configuring-labview-to-use-source-control.html
Using Perforce with LabVIEW
https://decibel.ni.com/content/docs/DOC-3203
If this does not help you resolve the issue, provide us with more information about the error which LabVIEW in throwing when it does not successfully connect to the source control.
Thank you,
Jonathan
11-04-2014 02:02 PM
Guess I should have made clear that everything works fine when I'm at work, and can reach the perforce server, so I think I configured it properly. I can check things in and out, no problem.
It's when I'm not at work and thus the perforce server is unreachable that it doesn't work.
I'm calling this in at lunch time....
11-05-2014 11:15 AM
Hello Instrumento,
Take a look at the following link:
Working Disconnected From The Perforce Server:
http://answers.perforce.com/articles/KB_Article/Working-Disconnected-From-The-Perforce-Server
It turns out that Perforce keeps all unopened files in the workspace as “Read Only”. Therefore, to work offline, you will need to make the files writeable to be able to work with them. The article explains the details. Hopefully this helps.
Thank you,
Jonathan
11-11-2015 05:05 PM
I believe I figured out what is wrong in the interaction between LabVIEW and P4.
One reason is that a lot of times, the popup to enter the password for p4 is actually a popdown buried underneath a lot of windows. This leads to confusion, LV freezing, popping up the dialog that the SCC is not available, etc.
Another reason is that if LV dies (when I'm playing with half debugged DLLs under Visual Studio), the next time I start LV it complains it can't connect to P4, and then I have to exit and restart LV for it to connect.
After a while one gets used to these idiosyncrasies, but until then one wonders what's going on.
11-12-2015 02:22 PM
Hello Instrumento,
I am happy to hear that you found some sort of work around for the issue that you are experiencing. I am not sure why that keeps happening or what the previous error you were seeing was. However, I have found an article from Perforce that talks about how to Avoid Source Control Errors in LabVIEW. I hope this helps!
Casey L.
Applications Engineer