09-04-2015 10:32 AM
I am looking in the sample of
C:\Users\Public\Documents\National Instruments\TestStand 2014 (32-bit)\Examples\TestStand API\Building a Sequence Using API\DotNet\SequenceFileXMLParser\SequenceFileXMLParser.sln
From the above sample, I can see that it is setting the value of Use Current File via:
mainSequence.stepGroups[(int)StepGroupName.main].steps.Last().stepProps.Add(new PropData("Module.UseCurFile", "true"));
How do we know that this property exists for "Module.UseCurFile".
The reason is I wish to set other properties for a particular step via C# but cannot do so without knowing the exact name of the property i.e. I wish to set Comments for a particular step - how do I know the exact name for it?
Thanks in advance for your help.
09-09-2015 03:30 AM
Hi,
Are you sure that the property exists? I mean to me it seems like the property is actually created by using the .add() method on the step and specifying a new PropData as the parameter.
Have you looked at the example for accesing objects using API?
/Anton