NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Error connecting SQL server with TestStand

Hello all,

 

I'm trying to process the result of the tests directly to a database in SQL server and I'm having the error that I show in the images. I already tested the connection with the database and all is OK.

 

Captura de ecrã 2024-01-19 115431.png

 

I selected this database provider.

 

Captura de ecrã 2024-01-19 115952.png

Someone can help me with this?

0 Kudos
Message 1 of 5
(645 Views)

Hi ,

 

There is DB Viewer in the tools menu.

Open it and connect to the DB with the connection string ( as you say its working fine).

Check for all the tables present.

If the tables are find in SQL server then try with a simple example.

 

Ravi

0 Kudos
Message 2 of 5
(620 Views)

Hi Ravi,

 

Thanks for your help.

 

I made what you have said and the connection is working correctly, but I don't see any table in the Data Base that I'm connecting. I need to create them, or they are created automatically? 

0 Kudos
Message 3 of 5
(616 Views)

Hi Rodrigues,

 

The SQL to create the tables are :

C:\Program Files (x86)\National Instruments\TestStand 2022\Components\Models\TestStandModels\Database

 

(Change path based on the TS installed)

You can run thiD in the DB viewer which support SQL execution.

Ravi

0 Kudos
Message 4 of 5
(610 Views)

Hi Ravi,

 

I don't have this path.

 

Thank you for your help!

 

0 Kudos
Message 5 of 5
(559 Views)