From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,965 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,960 Views)