NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create a lookup to a specific location

Hello everybody,

i'm trying to create a lookup string pointing to the current step. I tried the PropertyObject.GetLocation(topObject), but didn't succeed. It seems, i can pass whatever i want as topObject, the result stays the same: "Main[0]", which is right when viewing from "Sequence".
There's never an error. But i wanted a more global string as e.g. "RunState.SequenceFile.Data.Seq[0].Main[0]".

I'm using TS 3.5 and CVI8.01.

Any ideas?

Thomas
0 Kudos
Message 1 of 3
(2,818 Views)
hello thomas,

i am not sure, if i understood that right. i created a sequence, which points to the current step via the RunState property and prints the ID of this step in the message box.

i hope this help,
regards,

robert h
NI germany
0 Kudos
Message 2 of 3
(2,793 Views)

Hello Robert,

thanks for your effort, but this was not, what i'm looking for.

I needed to split a test step into 2. But i need to share some information, what i did with a global variable. This works fine so far. But i wanted to display to the user the location (lookup string) to the other step. The function PropertyObject.GetLocation ( topObject) should do exactly that. But i can't get it working. I can play around the topObject without any change in the result string.

Do you know, how to use this function? I attached a small example.

Regards

Thomas

0 Kudos
Message 3 of 3
(2,782 Views)