NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Caller of a new thread

Hi,
i have a sequence with a call as new thread and i need the real caller at run-time.

The problem is:

RunState.Caller gives not the caller who start the new thread, but the current step of the calling sequence. It´s not the same.
RunState.CallingStep returns a run-time copy of the step and that´s what i actually want, but so i can´t get another caller.
About the background: I want to get every item of the complete CallStack and find out the StepGroup.

Did anybody have an idea?

Thanks for help.

 

Best regards
Rico

0 Kudos
Message 1 of 3
(615 Views)

Hi Rico,

 

https://forums.ni.com/t5/NI-TestStand/Call-Stack-Navigation/td-p/440355

 

Is this something similar to what you are looking for?

 

Ravi

0 Kudos
Message 2 of 3
(592 Views)

Hi Ravi,
thanks for the linked Topic. These solutions i have tried already.
The navigation through the CallStack ist not the problem, but what i get back.
At a sequential proccesing everthing is ok. Only when there is a parallel thread, the returned caller (it should be the SequenceCall as new thread) is not the expected.
In my example, you can see the difference.

Greetings
Rico

0 Kudos
Message 3 of 3
(580 Views)