NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand Numeric Multiple Limit Test Data Logging to SQL Database using Stored Procedures

We are receiving a foreign key constraint error when attempting to log the result of a multiple numeric limit test to a SQL Server database. Any suggestions?
CLA
0 Kudos
Message 1 of 3
(2,350 Views)
I think it is a bug in the actual logger. I can go into the database and add a new row to the STEP_NUMERICLIMIT2. As long as the value in the PROP_RESULT field exists in STEP_NUMERICLIMIT1 then the row can be added. If it does not, I get the same error message that TestStand gives me.
CLA
0 Kudos
Message 2 of 3
(2,329 Views)

Hi terckson,

 

Thanks for reaching out. Sorry you're having issues. It's not totally clear what's going on right now. Could you narrow down the issue to a specific log, or data type that you are sending to the server? Does it happen every time, or just some times? If you log just a single data point to your database, does the same error throw?

 

Thanks in advance.

Keddy C.
Staff Software Engineer
National Instruments
0 Kudos
Message 3 of 3
(2,308 Views)