NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Adding comments to new format property loader files

Solved!
Go to solution

With the old property loader format there was an option with "Skip Rows Beginning With:" which I used to tag property values with requirements. There doesn't seem to be an equivalent with the new file format, is there any syntax to add comments that won't cause an error when the file is loaded?

0 Kudos
Message 1 of 5
(2,866 Views)

Hi Adam,

 

You can try using this syntax to comment property: http://zone.ni.com/reference/en-XX/help/370052N-01/tsapiref/reftopics/propertyobject_comment_p/

 

It is from 2014 but it might still apply to the new file format.

 

Kind regards,

Kelly

 

 

0 Kudos
Message 2 of 5
(2,833 Views)
Solution
Accepted by topic author Adam.B

This is being added in TestStand 2017 SP1, which will release in the next few weeks. You'll be able to use the standard ‘//’ prefix to denote a comment, which will be ignored by property loader.

 

-Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 3 of 5
(2,830 Views)

Thanks, looks like I'll have to plan on upgrading then!

 

Adam

0 Kudos
Message 4 of 5
(2,827 Views)

For now you can still use comments outside of the <PropertyGroup> tag, but i see how that's not ideal for requirements tracking.

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 5 of 5
(2,823 Views)