01-12-2012 02:43 PM
All,
I am looking at the Property Browser of the Step Settings for a Sequence (TestStand version 4.1). It lists an entire series of options (typically it is TS.SData.xxxx OR TS.LoopIncrement, etc). The actual flag does not matter, what I am interested in is finding where each one is defined. The manuals did not provide a clear path for me or I am looking in the wrong place.
Where should I be looking?
Thanks
Solved! Go to Solution.
01-13-2012 12:44 PM
HI CarmineS,
What are you looking to accomplish? Are you looking for where specific values are set? There exist TS global variables that you can set here (http://digital.ni.com/public.nsf/allkb/5C08014017AA895686256DD6008323FB?OpenDocument). Is that what you’re looking for?
Regards,
Michael M
NI Americas | AE
01-13-2012 01:20 PM
Go to Configure>>Station Options>>Preferences and uncheck Show Hidden Properties.
That should make most of the properties go away. Properties like TS.SData are where TestStand stores information about the step, but you should access that information via the API using the Step and Module interfaces, or by the various other step editing panes in the editor.
A long time ago, many of these properties didn't have their own API, so you had to access them programmatically via these hidden properties using the PropertyObject API. This is no longer the case and you shouldn't write new code that does that unless you have a really good reason.
Non-hidden properties in that view are properties defined by the step type's creator. These, you typically do access them programmatically (if at all) with the PropertyObject api. Hopefully, the creator of the specific step type also created an editing dialog for you to change them in so you won't need to use the Properties Browser to edit them.
01-16-2012 08:43 AM
Thanks for the feedback.
Let me rephrase the question this way. As I look at the property browser, it is made up of a lot of "stuff" (for example TS.SData.ModuleWorkspacePath). I picked this one randomly.
What I want to know is, What is is it, What is it used for, What happens when I use or if I decide not to use it. Where is it defined?
There has to be (or should be) a document that tells me about it.
Hope that clears the confusion of the question.
01-17-2012 11:00 AM
I guess I was unclear. These properties are hidden by default and undocumented. They are undocumented because you shouldn't use them.
You should use the corresponding gui step settings and step and module APIs, which are documented.
01-17-2012 12:51 PM
I have a print out of the NI TestStand API chart.
Where would I find the documentation that backs up the chart?
thanks
01-18-2012 09:58 AM
In TestStand, select Help>>NI TestStand Help. Navigate to the NI TestStand API Reference Help book in the table of contents.
You can also find the help posted on ni.com at http://digital.ni.com/manuals.nsf/websearch/59AA73248B5E486B8625779A005095D8
Please let me know if you have any questions or need more information.
Thanks,
Callie Jones
TestStand Documentation Team
01-27-2012 02:31 PM
Thanks for the help. I think this will do for now