NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to divide the output from Labview in Teststand?

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

0 Kudos
Message 1 of 8
(4,181 Views)

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

 

 

Regards
Ray Farmer
0 Kudos
Message 2 of 8
(4,179 Views)

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!

0 Kudos
Message 3 of 8
(4,150 Views)

Hi All,

     who can explain this question?

     Thanks.

0 Kudos
Message 4 of 8
(4,097 Views)

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?

 

 

Regards
Ray Farmer
0 Kudos
Message 5 of 8
(4,090 Views)

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

0 Kudos
Message 6 of 8
(4,073 Views)

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)

 

 

 

Regards
Ray Farmer
Download All
0 Kudos
Message 7 of 8
(4,031 Views)

Hi Ray,

    it can work,thanks a lot.

 

BR

Johnny

0 Kudos
Message 8 of 8
(4,027 Views)