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: 

Setting VI Parameters in LabView Action Module with TestStand API

Solved!
Go to solution

I am starting to play around with the TestStand API and I have questions about how to configure a TSAdp.LabViewModule.


I am using a couple examples from NI and the developer community to get started:
http://www.ni.com/example/30263/en/
https://decibel.ni.com/content/docs/DOC-18401

These examples work as I expect and I understand them.  I am struggling with how to specify the VI parameter values in the module when the step type is "Action."  In other words, how do I set these parameters?

action_module.png

 

 

All of the examples I see use step types that have fields defined, which are accessible through the API with "AsPropertyObject."  The Action type, by default, only has the Result field.

Can I set the parameter values of a VI with the TestSTand API?  If so, how?

 

Thanks,

Jacob

 

0 Kudos
Message 1 of 2
(4,914 Views)
Solution
Accepted by topic author jrasco

Well, I figured it out on my own so I'd figure I'd share the solution:

 

module_parameter_ValueExpr.png

Message 2 of 2
(4,885 Views)