NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

how to change batch report heading text in the report dynamically?

Solved!
Go to solution

Hello,everyone.now i use teststand to measure a voltage value of test point.there are a pin in the circuit controlling that values.now i want to change the batch report heading text in the report.for example, i only use one step in a sequence file and use a expression  to change the pin value.now i want to change the batch report heading text through the movement of the expression.i can't found it by teststand help document.how can i do it?

thanks~

my email is sar818@yahoo.com.cn.

plus ,i'm sorry to tell you my english is poor.if you have any question,just tell me ASAP.

i'm looking forward to your answer~~~

0 Kudos
Message 1 of 3
(3,347 Views)
Solution
Accepted by topic author sar818

Hi sar818,

 

This item is pointing to the step name, which you can modify with the TestStand API:

 

Step.Name = "newStepName" 

 

You can call this is the post expression of the step:

 

1.png

 

Note that this change will only persist for the execution.  

Al B.
Staff Software Engineer - TestStand
CTA/CLD
0 Kudos
Message 2 of 3
(3,182 Views)

 

Spoiler
 

 

 

Thanks for your reply, and you are too kind.

I will have a try to use your method to solve my question.

Cheers firstly.

I am sure i have the confidence to complete it.

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