ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Learning Teststand

Hi, 

 

I am going into the world of teststand after working in labview for 7 plus years. I am trying to create a simple project. I wrote a labview VI call Resitance measurement which is just a random number outputting a value between 0 and 10. 

govindsankar_0-1768818501990.png

 

I save this as ResistanceMeasurement.VI. Next I created an action step in teststand and called this VI and I am trying to store the output of the VI in a variable maybe global or local, i dont know which one to use, so I decided global. Then I will create a pass fail test and use this global variable to check pass or fail. This is my idea. But the issue is I dont know how to store the output of the VI in a local or global variable. I know i can store it in Step.Results.Status. But that I dont want. I want to store it in a local or global variable so that I can use it again for running the pass fail test. How can I do that. Thank you. 

 

0 Kudos
Message 1 of 2
(254 Views)

Step.Result Container is used for the standard limit comparison, so I do strongly recommend to use it.

Especially as a beginner.

 

If you need values later on, you can always access them

 

There are some tutorials about code module usage available online.

Furthermore, a TestStand installation comes with examples and Demos like Mobile Device Test.Seq

 

 

0 Kudos
Message 2 of 2
(239 Views)