06-04-2015 09:44 AM
Hi. I have no experience about logging results to database. I want to learn and do it. I want to use mssql. Could you help me about this situation?
06-04-2015
04:26 PM
- last edited on
01-01-2025
10:34 AM
by
Content Cleaner
Do you already have the sql server set up with the correct tables?
How far along are you?
Here are some tutorials and references:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x0cNCAQ&l=en-US
Hope this helps,
06-04-2015 05:20 PM
06-05-2015 09:47 AM
When you say that you set up SQL Server are you saying that you inserted the tables for TestStand? Or that you just have it running on a server?
You can generate the sql file to insert the tables into your database. If you go into the Database Options in your Result Processing and on the Schema tab check the SQL Server Stored Proc schema. Then click the Build .sql File... button. This will generate a SQL file which can be used to insert the tables with the correct properties.
At this point all you need to do is turn on Database Logging and ensure your Connection String Expression is accurate on the Logging/Data Link Options tab of the Database Options dialog.
You should be up and logging at that point.
Hope this helps,
06-11-2015 06:42 PM
Hi all,
I am attempting the same as the OP; I believe I have the tables set up correctly (can see all desired fields in SQL Management and Database Viewer) but when I run the sequence I always get this error:
06-12-2015 04:17 AM
Hi. I solved my problem. I choose Sql Server option in Database report settings.I think, if you change Generic Recordset option, you will solve your problem.