11-19-2018
03:44 AM
- last edited on
01-01-2025
10:13 AM
by
Content Cleaner
tl;dr: I want to log to a database with a mixed result of UUT-data (serialnumber) and Step-Data (measured voltages).
Long version: I am logging into an MySQL database. The db does not follow the default TestStand logging scheme by creating one table for the UUT and one for the results. Instead it should looks like this:
| ID | Serialnumber | Voltage |
|---|---|---|
| 1 | 123.456 | 5.2 |
| 2 | 353.556 | 5.1 |
The serialnumber is entered by the user. I use the Message Popup Step for this. It is saved into a local variable (Locals.serial).
When I configure the data which will be logged. I can not find my local variables.
Ok, so I guess I have to mark the variable to be logged. And that's the part where I am stuck:
01-17-2019
05:39 AM
- last edited on
01-01-2025
10:14 AM
by
Content Cleaner
Hi Exle,
Do you still experience challenge with logging additional values and creating your own schema?
Did you have a chance to see this tutorial, instead of the one you were linking in your post?
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x1kICAQ&l=en-US
Hope this helps!
Regards,
01-22-2019 05:45 AM
Hi,
I am not using the built-in TestStand Log-Test-Results-To-Database anymore. Instead I am using the Database Steps. I open the table with my test results, write the test results how I want them and close my table. This works very good.
kind regards,
Christian