03-03-2017 06:29 AM
Hi,
Could someone instruct me with the how to easily log the additional data gathered during customized "Enter UUT" operation?
I'd like to display them in the header of the report and log it in UUT_RESULT table.
What it the best way to do this?
I hoped if I add the them to the UUT container in AdditionalData sub-container and, after the creation appropriate columns in the DB, I allocate it using Logging.UUT...... the data will be recorded. But they aren't.
What else needs to be done?
And how to modify the test report?
K.
03-08-2017 06:19 AM - last edited on 11-30-2024 04:02 PM by Content Cleaner
Hi Kamil,
Firstly I would like to direct you towards the following link: https://www.ni.com/en/support/documentation/supplemental/08/teststand-report-generation-and-customiz...
This is a very good source of information on this issue and other common issues within TestStand, specifically
have a look at the additional results section.
The Steps should be:
- Go to Additional Results in Step Settings for Step.
- In the Property Browser right-click on the data type > Advanced > Edit Flags > Include in Report
This will include the specific data-type in your report, I hope this answers the question you had.
Please let me know if there was anything else you had questions about.
Thanks
Courtney
03-09-2017 03:07 AM
Thank you for your reply. It was very helpful. Especially the paragraph 7.
One question more. Where in the DB I can find my data logged? It seems they don't exist in UUT_RESULT table close to Serial Number.
03-10-2017 05:46 AM - last edited on 11-30-2024 04:02 PM by Content Cleaner
Hi Kamil,
I'm glad the article helped.
To answer your question, I'd like to firstly direct you towards your DB file this is saved to a path stated by you.
You can find the path and DB options: Configure > Result Processing > Settings (icon on right of DB line) > Data Link Options > Connection String Expression
This will describe the path location of your DB, you can select the type of DB using the management system drop down.
I would also ask that you make sure the DB is enabled in the result processing window by ticking the enable box.
Finally the following link has plenty of good information on Logging to Databases in TestStand and may answer some of your following questions.
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0cNCAQ&l=en-US
I hope this answers your questions.
Thanks
Courtney
03-14-2017 02:05 AM
After reading documentation I still can't find the data displayed on the report in the database.
Shall I explicitly add this data to the DB schema?