10-22-2010 12:16 AM
hello,
everyone,i have a question mix to me.for example, i creat a vi that have two kinds of output,one is numeric,the other is numeric array.So when i add the vi in teststand.
and creat a test step such as numeric limit test.How can divide the correct output for teststand?
except your reply!Thanks a lot
10-22-2010 01:16 AM
Hi,
Four solutions:
1. Instead of using a Numeric Limit Test step type use a Multiple Numeric Limit Test step type and combine your Numeric output with your Numeric Array output in side your code mudule.
2. Use the Add Additional Results to handle either the Numeric output or Numeric Array output depending on what step type you use.
3. Create a custom step type which is a Numeric Limit Test combined with a Multiple Numeric Limit Test step type
4. Use an action type to return your results into TestStand locals and then have two None Adapter Step types following the action step to do the evaluation of the results of the Numeric and the Numeric Array.
Hope this helps
10-22-2010 09:37 PM
hello Ray,
thanks for your reply,if that means one test step has only one output as the result for estimation?And if the vi have two result,such as one for Voltage test,one for Current test,How to do?
meanwhile,Can i set up the decision in the "data source"?
Thanks again!
10-27-2010 07:02 PM
Hi All,
who can explain this question?
Thanks.
10-28-2010 12:42 AM
Hi,
If you dont want to create a Custom Step Type then I would use a Multi Numeric Limit Step Type. You can step up each limit individual in the Edit Limits dialog.
You can either return the two results n as an array and pass this directly to the Step.Result.Measurement (cant remember the act step name property but it should be obvious when you see it in front of you) or if they have to be returned to Teststand as separate items then in the Specify Step you can specify each result into the individual elements of the Result array.
If I get the chance later today I'll do a simple example for you. What version of TestStand are you using?
10-28-2010 07:13 PM
Hello Ray,
Thanks a lot,My teststand's version is 4.2. labview is 8.5
It is better that you will do a sample for that.
BR
Johnny
10-31-2010 02:28 PM
Hi,
Here is an example. The SequenceFile is version 3.5 but you will beable to load it in to your TestStand.
Save the two file into the same folder open the SequenceFile. Hopefully you will not have to relink the VI. The VI was created in LabVIEW 8.6 but I saved it to a previous version (8.5)
10-31-2010 07:35 PM
Hi Ray,
it can work,thanks a lot.
BR
Johnny