06-01-2020 09:12 AM
Hi Sir,
I am not sure there is a tool or method, to control the sourcecode version in teststand.
Just like Git or SVN.
Thanks.
06-01-2020 10:33 AM
Can you be more specific? What is the actual question? If you ask about the possibility to integrate Sequence Editor with some source code control tool then check this: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019Kh2SAE&l=pl-PL
If you ask for tools to do diff/merge then check this: https://zone.ni.com/reference/en-XX/help/370052AA-01/tsref/infotopics/diffmerge/
In general, you can put any file under any SCC, so it doesn't matter if we talk about sequence files or vis and Git or SVN.
Usually I see SVN with TestStand.
06-01-2020 10:49 AM
Hi Sir,
Thanks for your quick response. So with the third party tool, such as PushOK and TortoiseSVN, no matter the source code in local harddisk, or a share point, we can do the version control, check in/check out, right ?
Thanks.
06-01-2020 10:55 AM
Yes. Perhaps there are some limitations in specific situations but if we talk about normal use then definitely yes.
Right now, I have on my local drive couple TestStand projects from a SVN repository (remote server). All controlled with TortoiseSVN. So I can see logs, commit comments, green/red file icons and all that cute things 🙂
06-01-2020 11:45 AM
@Brzhou123 wrote:
Thanks for your quick response. So with the third party tool, such as PushOK and TortoiseSVN, no matter the source code in local harddisk, or a share point, we can do the version control, check in/check out, right ?
As was already stated, anything can go into SCC. I put Word and Excel documents, simple text files, LabVIEW VIs, projects, controls, etc., and TestStand sequences in SCC. Until recently, I used TSVN. I was forced to change to GitHub due to corporate policy. But it works well with Source Tree.
07-02-2020 03:11 PM
Maybe it's worth to mention that there is a difference in the way how SVN and Git works internally (there are plenty articles about it). The important thing to highlight is that Git is not very good for controling binary files or Photoshop, Word etc. because each change record will consume a lot of memory. So for such scenarios better to use SVN or Git LFS extension.
07-03-2020 05:29 AM
Hello,
Some months ago I faced similar problem which SCC to use.
I tried the PushOK plugin with TestStand and TortoiseSVN, it was working, but with limitations.
The functionality provided by the plugin was not enough for me, so I created my own TestStand version control library in a sequence file.
My idea was to automatically update/commit changes when sequence files are opened. I placed in each test sequence file a SequenceFileLoad/UnLoad callback, which calls my SVN library sequence in a new execution, and performs update/commit or locking of the sequence files by low level using the svn.exe.
Also possible to create SVN Tag with this method.