NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it not possible to get (or use) a lookup string which includes a reference object?

Solved!
Go to solution

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

 

CropperCapture[13].Png

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 1 of 3
(4,119 Views)
Solution
Accepted by topic author Believer

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.

Message 2 of 3
(4,095 Views)

Corbin,

 

That was a great example - I appreciate you taking the time to do that for me.

Thanks!

 

Ronnie

TestStand 4.2.1, LabVIEW 2009, LabWindows/CVI 2009
0 Kudos
Message 3 of 3
(4,091 Views)