How to setup source code control with StarTeam
Hi,
Could anyone please tell me what should I do to set up the source code control?
My company use StarTeam Borland as a source code control tool. I try to set this as a Source Control for Labview by go to SourceControl category ins the Options setup, but I cannot select anything form the list of provider name. Do I have to do any extra step to make it right?
Best regards,
Thang Nguyen
Message Edited by THANG NGUYEN on 08-12-2009 05:23 PM
Attachments:
SourceCodeControl.JPG 64 KB
Read this: Source Code Control Provider Does Not Appear In LabVIEW Options. (A simple search would have yielded this.)
Similar Messages
-
How to use Source Code Control for Large Application?
Hi, All!
I would like to collect knowledge about "best practice" examples for using Source Code Control and project organization for relative large application (let's say approx 1000 SubVIs).
Tools used:
LabVIEW 8.0
CVS Server
PushOK CVS Proxy Client
WinCVS
With LabVIEW 8 we can organize large project pretty well. This described in article Managing Large Applications with the LabVIEW Project.
I have read this article too: Using Source Control Software with LabVIEW In this Article Source Safe used, but with PushOK all looks nearby the same and works (some tricks for compare function are required).
Example. Two developers working together on same project. Internally project is modular, so one developer will work with module "Analysis", and another one with "Configuration" without interferences. These modules placed into Subfolders as shown in example above.
Scenario 1:
Developer A started with modification of module "Analysis". Some files checked out. He would like to add some SubVIs here. So, he must also perform check out for the project file (*.lvproj), otherwise he cannot add anything into project structure.
Developer B at the same time would like to add some new functions into module "Configuration". He also needed to check out project file, but this file already checked out by Developer A (and locked). So, he must wait until lvproj file will be checked in. Another way is mark *.lvproj files as text files in PushOK, but then one of developers will get conflict message by checking in and then merging will be necessary. This situation will coming very often, because in most cases *.lvproj file will be checked out all the time.
Question: Which practice is better for such situation? Is Libraries better than folder for large project?
Scenario 2:
Developer C joined to the team. First, he must get complete project code for starting (or may be at least code of one Library, which assigned to him).
Question: How it can be done within LabVIEW IDE? Or WinCVS (or other SCC UI) should be used for initial checkout?
Scenario 3:
Developer D is responcible for Build. Developers A,B,C have added lot of files into modules "Analysis", Configuration" and "FileIO". For building he need to get complete code. If our project splitted into folders, he should get latest *.lvproj first, then newly added SubVIs will appear in Project Explorer, then he should expand tree, select all SubVIs and get latest versions for all. If Project organized in Libraries, he must do the same for each library, isn't?.
Question: Is this "normal way", or WinCVS should be used for this way? In WinCVS its possible with two mouseclicks, but I prefer to get all code from CVS within LabVIEW IDE recursively...
That was a long post... So, if you already working with LabVIEW 8 with SCC used for large project, please post your knowledge here about project structure (Folders or Libraries) and best practices, its may be helpful and useful for all of us. Any examples/use cases/links etc are appreciated.
Thank you,
AndreyRegarding your scenarios:
1. Using your example, let's say both developers checked out version 3
of the project file. Assuming that there are only files under the
directories in the example project, when Developer A checks in his
version of the project, there will be new files in one section of the
project separate from where Developer B is working. Developer B,
notices that there is now a version 4 of the project. He needs to
resolve the changes so will need to merge his changes to the latest
version of project file. Since the project file is a text file, that is
easy to do. Where an issue arrises is that after Developer B checks in
his merged changes, there is a revision 5. When Developer A and B go to
make another change, they get the latest version which will have the
merged changes to the project file but not the referenced files from
both Developer A and B. So when A opens version 5, he sees that he is
missing the files that B checked in and visa versa. Here is where the
developers will needs to manually use the source control client and,
external to LabVIEW, get those new files.
Where libraries help with the above scenario is that the library is a
separate file from the project so changes made to it outside of the
project do not require the project to be modified. So this time, the
developers are using a single project again which time time references
two libraries. The developers check out the libraries, make changes to
the libraries, and then check those changes in. So when each developer
opens the project file, since it references the project file, the
changes to the library will be reflected. There is still the issue of
the new files not automatically coming down when the latest version of
the library is obtained. Again, the developers will needs to manually
use the source control client and, external to LabVIEW, get those new
files. In general, you should take advantage of the the modularity that
libraries provide.
2. As noted in the above scenario, there is no intrinsic mechanism to
get all files referenced by a LabVIEW project. Files that are missing
will be noted. The developer will then have to use the source control
provider's IDE to get the initial contents of the project (or library).
3. See above scenarios.
George M
National Instruments -
How to setup CVI 6.0 with Clearcase?
I've been using Microsoft Visual Source SAfe with CVI before and it was very easy to setup and use. Now I need to convert to Clearcase. My CVI has automaticaly detected Clearcase SCC provider, but then CVI wants me to point to a Clearcase project, and all I have is VOB in Clearcase with no project. Does anybody know how to fix it? I'm using Base Clearcase and I've read a little about UCM Clearcase. Do I need UCM?
I found the solution myself. CVI wants to be pointed to some .ini file in order to use source control functionality, but as I mentioned above there is no project-ini file in Clearcase, while there is one under Visual Source Safe. Create an empty .ini file anywhere you want and point CVI to this file under Source Code control after you select Clearcase as your SCC provider. Now put you CVI project under Clearcase and you'll be able to check in/out files from CVI.
Regards,
Konstantin -
How to write source code in smart forms?
hi friends,
can anyone can help me in writing sorcecode in smartforms r
any materail link.
if it is helpful points can b rewarded.Thanks in advance.Hi,
Check this link for
how to write source code in smart forms?
http://****************/Tutorials/Smartforms/GettingStarted/SimpleText.htm
You can write Source Code in smartforms By Choosing Program Lines.
Check this link with Screen Shots
http://****************/Tutorials/Smartforms/PO/page1.htm
Reward All Helpfull Answers
Regards
Fareedas
Edited by: Fareeda Tabassum S on May 21, 2008 3:09 PM -
How to include source code in web dynpro java deployment
Hi,
We dont have NWDI.
We are creating ear files out of web dynpro applications packaging them as sca files and deploying them in server.
But the source code is not included in ear.
How to include source code with your ear/sca , so that when anyone downloads the sca file later, they are build the Project in the studio.
How would they typically download? Do they require NWDI ,
Right now we dont have NWDI in place, but we want to do is parcel the applications such that the source code should be available at a later time for download.
This is possible with .par files , but what about web dynpro?
Thanks,
DebIf you are not using NWDI use the _comp file.
-
Source Code Control - Check in problems
Some of my vi's have been marked as "Server copy has changed" and some have even been marked with "both local and server copies have changed". When this is the case I cannot find any way to check in my VI without getting an error. Looking for a work around - help.
kh,
Which version of LabVIEW are you using? Built-in SCC have been rewritten from 6.0 to 6.1 and there are different issues related to each version.
With 6.0 I have encoutered a bug that wrongly checked most of my VIs as "local copy has changed" as soon as they are in memory with panel closed. I worked with NI Support and we found no workaround. Unfortunately, this behavior stayed even when the VIs were upgraded in 6.1 so that my problem was a dead end. I switched with great success to CVS, another source code control software.
I do not use 6.1 but if you do, make a search on NI's site and you'll find hits that address a SCC bug. If I remember correctly, checking out a VI, making a small change and checking it in again often solved the problem.
G
ood luck.
LabVIEW, C'est LabVIEW -
RE: Using a source code control system
Thanks Shane and everybody for the replies.
My *.cex files have the correct "begin CLASS;" entry. Below is my fscript
file
that I'm trying with Forte 2.0.E.2 NT version:
setWorkspace ktCheckBoard
open
findproj sample1
cd c:\forte_cs\install\bin
compile sample1_sysadm.cex
importplan sample1_sysadm.cex (>>> It failed right here)
Khanh
From: Shane Howlett
To: forte-users
Subject: RE: Using a source code control system
Date: Wednesday, November 13, 1996 9:54PM
Hi Khanh,
In regards to your compile error...
We found that an interesting difference between versions 2.0.D.x and 2.0.E.x
was with the first line of an exported .CEX file.
A la ...
2.0.D line 1: begin;
2.0.E line 1: begin CLASS;
It caught me out. Just insert or remove the word CLASS using a text editor
depending on your version of Forte.
As for version control, we have been retaining workspace export files
(wascally WEX files!) as backups and plan to make greater use of Baselining
in
the repository. In terms of securing our environment, this approach
essentially meets our needs.
Shane Howlett
The Hydro.Thanks for your help. That works.
-khanh
At 11:20 AM 11/14/96 -0800, you wrote:
>
Hi Mike,
Thanks for the reply. I think that was what I did.
Below is my fscript input file:
setWorkspace ktCheckBoard
open
findproj sample1
cd c:\forte_cs\install\bin
compile sample1_sysadm.cex
importplan sample1_sysadm.cex (It failed at this step)'importplan' is unnecessary: 'compile' has compiled the .cex file into your
project. importplan is failing beacuse it expects to see an entire plan.
Mike
Mike Schilling ([email protected])
Forte Software, Inc. -
How to handle source code changes in apex
hi all,
can anybody help me plz...
how to handle source code changes in apex.
which development process is best suite for apex.
Regards
AlekhThanks Andy, so as per the suggestion we have to handle the above snippet as individual if block statements as i had shown below.
But in this case how we show the else part as NULL.
correct me if my understanding is wrong.
if 'Products' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
lv_to_email_id :='[email protected]';
end if;
if 'Materials' in (:P1_ENG_GRP1, :P1_ENG_GRP2, :P_ENG_GRP3) then
lv_to_email_id :='[email protected]';
end if;Thanks,
Anoo.. -
How can one use Mission Control with two monitors? Please bring Spaces back
How can one use Mission Control with two monitors. With Spaces I could treat each space as a single desktop.
SyBBI use two monitors at work and have no issue. I have my mail set to use Desktop 1 and iTunes set to the second monitor of Desktop 1. I have browsers set to Desktop 2 and Fusion and RDC set to Desktop 3.
Two things that may help you. In System Preferences > Mission Control, disable the setting "Automatically rearrange spaces...". This screwed with assigning applications to certain spaces. And the other thing is don't use full screen on apps that support it. This just makes your second monitor superfluous. -
How to display source code of a webpage in Safari 7.0?
Hello. I'm unable to find how we used to once enable developing tools in Safari Preferences or simply CMD + ALT + A to display the source code of a webpage. Now I've no clue how to display source code of a webpage in Safari 7.0 on Mac OS X Mavericks. Help.
Hi gss2,
Make sure you are not under the Apple icon but under Safari>Preferences>Advanced. All the way at the bottom check the box that says: "Show Develop menu in menu bar."
Now go back to the page you want to get the source code for, right click on it and choose Inspect Element. Hope this helps.
Cheers,
LURDS LLC -
Database source code control or version management
Hi all,
I work in a data warehouse development project, where database schema changes form majority of development work. As a development DBA I look after ensuring that all the database schema changes are version controlled properly.
We currently use CVS as a source code control system. We can use CVS well enough where stored procedures, functions and packages are involved. But when it comes to table definitions, we are finding use of CVS bothersome.
Hence I would like to know, which tool are you using for version control of schema changes. Any links to best practices on DB version control would be much appreciated.I think Oracle have introduced something in 11g for version control. Also you can use third party Software like ERWIN. You can also explore Oracle Data Modelling software which is Beta currently.
Regards -
Where is View Source? How can the source code of a website be viewed?
Where is View Source? How can the source code of a website be viewed?
View Source used to be accessed via a drop-down menu, but no longer. Why?
I'm using Firefox 24.0.1.)Get into Firefox.
2.)open any page that you want to see the source code.
3.)After complete opening of the page do"right click"then you can see view page source,click it to see Source of the page.
Thank you. -
Locking at request of OP - https://support.mozilla.com/en-US/questions/844506
Are we allowed to use the Web developer function, under the "Firefox" tab in Firefox version 5.0, to edit the html source code associated with the Firefox version 5.0 home page ( so that we can personalize the home page )? Is this legal?
Sincerely in Christ,
Russell E. WillisSolution: (Free Download Manager)
Go here: http://codecpack.co/download/Free_Download_Manager.html and download Free Download Manager 3.8.1067 Beta 3, it works perfectly with Firefox 5.0.1
Solution: (to Google mail aka Gmail)
I have had this problem for a while since I did a previous Firefox update, where I had to force Gmail to load in Basic HTML else it's next to impossible to use it. The solution is this: simply update your Java, and Gmail will work without a problem using Standard HTML. To update your Java go here: http://www.java.com/en/ and select "Free Java Download".
And beta normally, universally, means "the not quite there yet version of the version we're aiming for" NORMALLY used during production and testing of a type of software. -
Help needed to use Source code control system
Hi all
I am working on Suse 9.2 and I use JSP and Servlet in my project.I like to use Source Code Control System (SCCS) . But I have no idea about that.I need some help to initiate my project.
Thanks in advance.
-jeganI don't know this "SCCS" but I advice you to use Subversion as it is widely used open source standard.
-
How to obtain source code of weka and enable to modify it
hello,
how to obtain source code of weka and enable to modify it such i want to extract code of some process that I makeHi ENG,
Since the issue regards to Weka. It is out of the support boundaries of our forum, I suggesT you post the question in the following forum:http://forums.pentaho.com/forumdisplay.php?81-Pentaho-Data-Mining-WEKA.
It is appropriate and more experts will assist you.
Regards,
Katherine Xiong
Katherine Xiong
TechNet Community Support
Maybe you are looking for
-
Data not seen in RSA3 after setup table was filled
HI We have an issue where we do not see data for Sales Orders and Deliveries in RSA3 (and hence is missing in BW). For sales orders we are missing 6 months' data and for Deliveries we are missing data from june to october 2007. We checked the sales
-
I have two iPods under same account information and lost one but when I go to track it only the one that isnt lost shows up, is there somewhere I can go to fix this?
-
Laptop resume fails on second suspend
I have a 32bit Archlinux, completely up-to-date, running on a Dell Latitude D620 Laptop. Recently I've started having a problem whereby after putting my computer into suspend, when I try to wake it, it does a full boot and fixes file system problems
-
How to use IIFL trade terminal on Mac book air
how to use IIFL trade terminal on Mac book air
-
Reflecting Freight Charges in Material MAP
Hi, I have a requirement to reflect freight charges in material MAP. This can be done when the charges are reflected in the PO price. However, this is the client's situation: 1. A contract has been established for freight services 2. Material is purc