NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get /set calling step info

Solved!
Go to solution

hi,

 

I want to get the step name, step type, step limit during the test, and also I want to change the limit in the test case, how can i do this?

 

BR

Bendy

0 Kudos
Message 1 of 2
(3,964 Views)
Solution
Accepted by topic author Bendy227

 

already know how to do it, access to Step object, then can get/set info of it.

 

PropertyObjectPtr Step;

Step = SeqContextDisp->AsPropertyObject()->GetPropertyObject("Step",0);

CString itemname = Step->GetName();//get item name

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