NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to programmatically write a step/sequence requirement ?

Hi,

 

I think everything is in the title ! Smiley Wink

I guess I'll have to directly write in Step.TS.Requirements.Links ? Because I didn't find anything in the Step properties / methods to this...

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 1 of 3
(4,029 Views)

You can use the API:

 

http://forums.ni.com/t5/NI-TestStand/setting-requirements-on-a-TestStand-step-through-the-API-using/...

 

Regards,

 

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(4,022 Views)

Ok, indeed it works !

My suggestion too...

I didn't try to use the ref on the Requirements from the step because in the API poster, Requirements is set as Read Only... and there's nothing on 'Links'. I should have better looked at it Smiley Embarassed

 

Thanks !

CLA, CTA, LV Champion
View Cyril Gambini's profile on LinkedIn
This post is made under CC BY 4.0 DEED licensing
0 Kudos
Message 3 of 3
(4,015 Views)