NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Some question about Test Stand

First question
1. I want to remove the path witch appears in each report file (MainSequence)
2. Other question it is regarding the Include limits in report file or not. I my project I need to change during execution this property.
It is possible to change this property during execution, if Yes please send me an example.
Thank you,
0 Kudos
Message 1 of 7
(3,656 Views)
The step that adds the sequencefile path is named “Add Sequence Name”, in the “Main” stepgroup, of the sequence “AddSequenceResultToReport”, in the sequencefile “reportgen_html.seq”. It can be found in the same folder as the default process models. Either remove the step or set its Run Mode to “Skipped”. This is the case if you are using html reporting (you should be able to find a similar step in the corresponding sequencefiles of the other two report types). Also, you must have chosen in your Report Options to use Sequence instead of DLL for the reporting.

The limits for any step should be a part of your Context container. There are many different places where they reside within that container as different properties depending on which step is currently executing. The easiest way is to change their value for their own step. Just use a pre- or post- expression to change the value of Step.Result.Limits.high (or low). If you are changing the limits of a step from another step within the same sequencefile, you might use a lookup string that looks like this: RunState.SequenceFile.Data.Seq["MainSequence"].Main["Numeric Limit Test"].Limits.Low.

I hope that you find the answers to these two questions helpful. You should have all of the information that you need to accomplish these two tasks. Take care and good luck!

Regards,

Aaron B.
National Instruments
0 Kudos
Message 2 of 7
(3,639 Views)
Hi,
Thank you for your opinion, but I thing you don't understand very good, I want to include or not include Limit in the report file during execution my project, not to change limits
Thank you
Best regards
0 Kudos
Message 3 of 7
(3,624 Views)
Hi,

In the Process Model, there should be a variable called Locals.ReportOptions.IncludeLimits. Toggling this variable with change whether limits are included in the report or not.

Regards,

Aaron B.
National Instruments
0 Kudos
Message 4 of 7
(3,595 Views)
Hi,
Please give an example in LV.
I very new in studding T.S, and I not understand you.
Thank you,
Best regards,
0 Kudos
Message 5 of 7
(3,586 Views)
Hi,

Here is a sequence file that has just 2 steps and one local variable. By changing the default value of the local variable, you change what value the first statement step uses to assign to the Process Model variable that I have mentioned earlier. This will determine whether the limits in the second step are written to the report or not.


Regards,

Aaron B.
National Instruments

P.S. No LabVIEW programming was necessary.
0 Kudos
Message 6 of 7
(3,563 Views)
Sorry, I don't think I attached the document properly.
0 Kudos
Message 7 of 7
(3,560 Views)