From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From 11:00 PM CDT Friday, May 10 – 02:30 PM CDT Saturday, May 11 (04:00 AM UTC – 07:30 PM UTC), ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
01-03-2017 06:22 PM - edited 01-03-2017 06:23 PM
I've modified the simple operator interface's Execution View control to only show the following columns in this order:
In doing so I was forced to set the 'ApplicationMgr.UseStepListConfigurations' property to FALSE.
Everything works fine except the the Status Column I added. I *do* see it say 'Passed', 'Failed' and 'Done' but there are no Green/Red/Light-blue background color to it like you get with the non-modified Execution View control. I assume that I need to fill in the 'Background Color Expression' field but with what I'm not sure.
This leads me to two questions:
Solved! Go to Solution.
01-04-2017 04:29 PM
01-04-2017 06:40 PM
Thanks for the repsonse, here are some screen shots which step through what needs to be done to replicate this issue:
1.
2.
3.
4.
5.
01-05-2017 12:18 PM
Hi SeanDonner,
Here are some properties that might be helpful to you, specifically around the SequenceView object.
I think this might be the property that you're looking for
Setting the Background Color:
ItemBackColorExpression Property
Here is another that also might be helpful, as well as a list of all other properties that you can set in the SequenceView object
Setting the Text Color:
ItemTextColorExpression Property
The higher-level list of properties for SequenceView:
http://zone.ni.com/reference/en-XX/help/370052R-01/tsuiref/reftopics/sequenceview/
01-05-2017 01:54 PM
Perfect!
Here is the equation I used for the Status column to achieve the default dehavior in case others have this issue:
Step.Result.Status == "Failed" ? tsRed : Step.Result.Status == "Passed" ? tsGreen : Step.Result.Status == "Skipped" ? tsGray : Step.Result.Status == "Done" ? tsCyan : tsDefaultColor
Let me know if I missed a possible Status value and what its associated color should be.
Thanks!
01-05-2017 04:20 PM
Sean,
You can find the other status values in the TestStand Help: Step Status help topic. I don't know the associated colors off the top of my head, but it shouldn't be hard to test.
-Trent
01-05-2017 04:44 PM
Thank you, i'll be sure to add the ones I missed
12-13-2018 02:36 PM
Can somebody explain why the color stopped showing up? I, too, have that situation where a test station used to show colors but has stopped, even though I have not changed anything.
12-14-2018 10:16 AM - edited 12-14-2018 10:21 AM
@rdecarre11 wrote:
Can somebody explain why the color stopped showing up? I, too, have that situation where a test station used to show colors but has stopped, even though I have not changed anything.
Hi rdecarree11,
When you set ApplicationMgr.UseStepListConfigurations to false you are removing the file that sets the colors (UserInterface.XML). The Step List Configuration sets "various options that determine fonts, colors, visible columns, and other aspects of the Steps pane." The options for editing Step List Configurations seems more intuitive in the development environment than in the LabVIEW UI. However, you can build your own Step List Configuration in the LabVIEW UI as users were doing above.
The UserInterface.xml file stores the multiple configurations for Viewing Files and Viewing Executions. You can find where the TestStand Step List Configurations are stored using the article linked below.
"Where are my TestStand Step List Configurations Stored?" -
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000kHNESA2&l=en-US
Best,
David F.
Applications Engineering
National Instruments