NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to test cloned VI file from Test-Stand

Hi All,
I am having one doubt in Test - Stand.
 
I am having VI file which is having four controls and four indicators. I am just connecting one control with one indicator like one - one mapping. I have created connector pane for this. Say save this file as dummy1.vi.
 
In another VI file I have taken four controls. These controls are connected with dummy1.vi file.  Save this file with test1.vi file. Now run the test1.vi file with highlight execution on. While it is continuosly running, double click on the sub vi files. You can see different files with clone, clone1, clone2 ...etc...
 
Now I will pass values to test1.vi file from Test - Stand sequence step. In second step I want check the result from dummy1.vi file. But I am unable to do it.
 
Can anybody tell me how to achieve it?
 
 
Regards,
Nagaraju
0 Kudos
Message 1 of 2
(2,973 Views)

Hey NagRaj,

The reason you see the clones is because your VI is reentrant.  You can change that in the VI Properties in the Execution section.  Also, you may want to read more about that in the LabVIEW help to understand it better.

You should have no problem testing these VIs from TestStand if you set your Step result to the value you are testing against.  I've attached an image that shows how to set the outputs of your VI to the step results.  What kind of test are you doing? (i.e. NumericLimit, StringLimit, Pass/Fail etc..)

Is dummy1.VI a subvi of test1.VI?  If so do you have the output terminals of dummy1.vi connected to the output terminals of test1.vi to propogate the values back to TestStand.  This is assuming you only have one step in TestStand calling test1.vi which has dummy1.vi as a subvi.

If you want two steps where one step calls test1.vi and the other calls dummy1.vi then you have to call them seperately.  They can't be tested in the same step this way.

If this is confusing you can always post your simple example (seq and vis) and I could look and see how to better assist you.

Regards,

Message Edited by Sam R on 02-28-2007 09:06 AM

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 2
(2,956 Views)