12-12-2012 10:01 AM
Hi All,
It had been a while since I'd configured LabVIEW for Linux to use source code control, and I'd forgotten. Since I just re-learned how to do this, I figured I would post it here for the benefit of anyone out there who's never done this or can't remember how. It seems like this is like a lot of things in Linux: not at all complicated once you know how, but the information may not be particularly easy to find.
The problem you might encounter is that your SCC provider doesn't show up in the LabVIEW Options dialog under the "Source Control" section.
On Windows, for instance, when you install the Perforce Visual Client, Perforce Command Line automatically shows up in this menu. This, as might be expected, is not the case on Linux. Since I'm a Perforce user, I'll use Perforce in my example.
From a relevant LabVIEW help document, you may note that "LabVIEW runs a query of environment variables to determine if Perforce is installed."
export PATH=/usr/lib/p4v/bin:$PATHYou could vary the syntax depending on your preference.
I hope this is helpful to someone, somewhere in the future, for what it's worth.
Jim