08-20-2009 11:48 AM
Hi Everyone,
I am trying to get the full Property Object lookup string for the "xl" property seen below at the bottom of the picture.
I can get as far as the Additional Results[0] (which is a reference), but after this it does not seem possible to get to the "xl".
"TS.SequenceCall.ResultList[0].TS.SequenceCall.ResultList[0].TS.SequenceCall.ResultList[0].AdditionalResults[0]"
If I get the interface for the "xl" object, and then ask for the "Location" with reference to the "MainSequenceResults", I get back an empty string.
Getting the property objects for the containers and properties under the "xl" object also give the same result when I call "GetLocation(...) with the MasterSequenceResults property as the TopObject.
So is it not possible to have a lookup string which includes a reference object?
Thanks,
Ronnie
Solved! Go to Solution.
08-21-2009 11:15 AM
Hi Ronnie,
It is possible, but to get that value you will need to use the TestStand API. I have attached a sequence file that demonstrates how to get values of an object reference by using AsPropertyObject and then the associated GetVal method. It's a lot easier to understand through an example. Let me know if you have any questions about the example sequence file.
08-21-2009 12:08 PM
Corbin,
That was a great example - I appreciate you taking the time to do that for me.
Thanks!
Ronnie