NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Display Step.Result.String in the Description line

Solved!
Go to solution

Hello,

 

When I run a NumericLimitTest the value is allways displayed in the Description line.

When I run a StringValueTest the string is never displayed in the Description line.

 

So how can I display the 'Step.Result.String' in the description line?

 

gr,

0 Kudos
Message 1 of 5
(3,871 Views)

I'm confused by what you are asking.  A Numeric Limit Test does not have a property Step.Result.String.  So how can it even show up if it doesn't exist?

 

Also, are you talking about the Description column when you are viewing the sequence in the Sequence Editor?  Or the Description column as the sequence is executing in the Execution window?  Or are you talking about the Status column during execution?

 

A little more clarity might get you a better answer.

 

I don't think it's possible either way to change what shows in the Description column anyway.

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
0 Kudos
Message 2 of 5
(3,861 Views)

Hello Jigg,

 

First I create a numeric limit test.

When running the limit test the result will be displayed in the 'Description' row.  

 

Example of the test in the description row:

{Step_Result_Numeric}, Numeric Limit Test, x==5, Status...................

 

This is not displayed in the step editor but in the running mode in teststand.

 

 

Second I create a string value test.

When running, the returned string(Step_Result_String) will not be displayed in the 'Description' row.

So why is the 'Step_Result_String' not displayed when the test is running, I want it to behave like the numeric limit test.

 

gr,

 

 

 

0 Kudos
Message 3 of 5
(3,832 Views)
Solution
Accepted by topic author darkxceed

Just put in your Post-Expression:

 

Step.StepType.DescriptionExpr = "Step.Result.String"

 

Note that you must put quotes around Step.Result.String.  Otherwise you will get errors.

 

Cheers,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 4 of 5
(3,824 Views)

Thank you very much.

 

I also tried to put the "Step.Result.String" in the de post expression.

But did not know the link to the Description row, also "" are strange to me.

 

But it works, thanks.

 

Bart

0 Kudos
Message 5 of 5
(3,786 Views)