NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

SVN keywords

Our sequence files for TestStand are under TortoiseSVN revision control, and I am interested in pulling the SVN revision number into a TestStand variable for later use.  At one point in time we did this when our sequence files were in plain text, but they are now binaries so I'm not sure how to proceed.  I had something half working by using SVN keywords and using a DLL call to extract it from the file, but anytime the sequence file is saved the plaintext keywords are removed from the binary file.  Any insight would be appreciated

Brad

0 Kudos
Message 1 of 2
(3,138 Views)

Hello Brad, 

 

Teststand Sequence file can also be stored in most readable formats like XML and INI, but even if you try to add some text in that, it will be removed while saving the Sequence File.

 

If you want to add any string information in the Sequence File, the easy way is to write as a Sequence File Comment, this Comment will be stored in the Sequence File.  

 

Invoke "Edit -> Sequence File Properties", to write the Comment. We can also Read or Write the Comment programatically through the Teststand API's.

 

Hope this could solve your problem

 

AshwiN, 

0 Kudos
Message 2 of 2
(3,132 Views)