NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Parameters expression documentation

Hi, 

 

I was looking for a while,however not succeded to find the answer.

My question would be about documented PreUUt, ReportOptions and others expression to configure the TestStand. Often there is a need to configure the test station by expressions to be sure that sequence runs with the same configuration aften other peaple have used the computer where is a teststand.

For example:

Parameters.UUT.AdditionalData.SetFlags("",0,PropFlags_IncludeInReport)

Parameters.ReportOptions.ReportStyle="ATML5"

 

In most cases the Parameters expressions names differs from the functions that are made when you are configuring manually. Now I am looking through google to find the right expression name and explaination how to configure the particular function.

 

Does there is a document where are all of these parameters mentioned and explained how to configure?

 

Regards,

Karolis

0 Kudos
Message 1 of 3
(3,252 Views)

Hi Karolis,

 

Your best bet is going to be using the TestStand help to search the included TestStand documentation using ReportOptions, PreUUT, etc. The individual parameters are not specifically documented, as they can be changed by you as needed. There are examples in the help that show how these can be used/modified to suit your needs to ensure that each test execution uses the same settings each time.

 

I hope this helps.

 

-Jack

0 Kudos
Message 2 of 3
(3,241 Views)

Parameters are context dependent. If you try to create sub-sequence in your sequence file, considerring what values need to pass to and back from caller to the sub-sequence, you will understand what are parameters and that it is really depend on the purpose.

 

The parameters for PreUUT, ReportOptions etc for the process model to pass the value to those callbacks.

 

If you are familiar with text programming, eg: 

 

main()

{

c= GetSum(a,b)

}

 

int GetSum(int a, int b)

{

return a+b

}

 

here a, b are actually parameters. Knowing this, if you open the processmodel sequence and look at how it callback the preuut/report options, etc, you can get a better idea.

 

0 Kudos
Message 3 of 3
(3,215 Views)