NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Status Text Color

Teststand offers default step/sequence status texts such as "Passed" and "Failed".

I need a custom status text "Warning":

LahrT_0-1604523621538.png


As seen in the image above, I already have the "Warning" status implemented, but the color is green.

Is there a way to change the color of this text to yellow, for example?

0 Kudos
Message 1 of 4
(1,756 Views)

I made some progress at figuring this out...
In the Report Options I found which Style Sheet I was using: tr6_horizontal:
LahrT_0-1605797175329.png

I opened tr6_horizontal and every place I found a status for "Passed", I copied and replaced the text with "Warning":

LahrT_2-1605797253214.png

 

This kind of worked...It got the color to change(yellow) in the Batch File/Report (I'm using the batch model for this sequence):

LahrT_4-1605797539775.png


But the individual UUT Reports were unchanged(still green)...

 LahrT_3-1605797423348.png

I really don't understand why one report is changing and not the others...
I went into the "TestReport" sequence callback to see if I could gain any insight, but nothing really stuck out at me as being wrong...

Any advice?

0 Kudos
Message 2 of 4
(1,694 Views)

Hi, 

I recently came across your question. It is completely relatable to my question

 

If you have already solved this question then please give me a guidance for it. 

0 Kudos
Message 3 of 4
(215 Views)

What you are describing either means that :

 

- the Batch and the UUT Report are referencing different StyleSheets

- there are parts in the stylesheets which are different for the type of report being viewed

 

You can check the first option just by opening the raw xml and compare the StyleSheet reference

 

Do modifications made here

 

Oli_Wachno_0-1739511465152.png

 

reflect in both types of reports?

0 Kudos
Message 4 of 4
(198 Views)