NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

adding Columns to the TS OI Execution View

How do I add athe following cloumns to the execution view in the TS Full OI: limits low and high, and result value?
 
Thanks,
Jason Smith
0 Kudos
Message 1 of 5
(4,233 Views)
Hi Jason

To change the columns in the OI, you can right-click on the Execution View Control and select "Properties..." or "Sequence View >> Properties".  In the columns tab, you can create your own custom columns for your OI.  Below is a screenshot that shows the configuration for putting in a "Low Limit Value" column in the Execution View.

The following expression is evaluated for every step:

PropertyExists("Step.Limits.Low")? Step.Limits.Low : ""

If the property exists, the value shows up in the column.  If not, nothing shows up in the column (empty string). 

You can follow a similar process for adding columns for High Limits and Results. 

Hope this helps!

Russell G.
NI Applications Engineering




0 Kudos
Message 2 of 5
(4,217 Views)

Your advice proved very helpful.  I was able to add the limits and results as desired.  Now, I need to only show steps of specific type, e.g. numeric limit tests.  I tried using an expression to show the step name (If I got this to work, I would then add the logic for filtering).  Sequenc.Step.Name doesn't work. Any suggestions?

Thanks

Jason

0 Kudos
Message 3 of 5
(4,201 Views)
Hi Jason,

You can get the specific name of a given steptype (eg "Pass/Fail" or "Numeric") through the Sequence.Step.StepType.Name in TestStand.  For your OI, you would have to do use an ActiveX control and expose the property through a few property nodes (SequenceContext >> Step >> StepType >> Name)..  However, once you have the name, there is no way currently to hide steps in a sequence.

My recommendation would be to put all of your steps that you wish to not be shown into subsequences, and use the main sequence to call each of those sequences.  This heirarchical method would expose only the sequence names to the operator, and would present a much cleaner solution.

Thanks,

Andrew W. - Applications Engineer



0 Kudos
Message 4 of 5
(4,186 Views)

Is this specific to the seq file or can this be a global "Station" option for all sequences?

Christopher Douglas -CLA
0 Kudos
Message 5 of 5
(3,106 Views)