NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Database logging example with Access does not work.

Using the example sequence to illustrate logging results to a database, I am get the following error when I attempt to use the Access database engine:

 

UUT Result: Error, An error occurred calling 'LogOneResult' in 'ITSDBLog' of 'zNI TestStand Database Logging' An error occurred while setting a column value. Statement: UUT_RESULT. Column: ID Description: Command text was not set for the command object. Number: -2147217908 NativeError: 0 SQLState: Reported by: Microsoft JET Database Engine Source: TSDBLog [Error Code: -2147217908, User-defined error code.]

 

The same sequence when configured to use a SQL database works perfectly.

 

The application must use Access.

 

/cbp

0 Kudos
Message 1 of 4
(3,365 Views)

What version of TestStand are you using for this?

 

-Jack

0 Kudos
Message 2 of 4
(3,364 Views)

Ultimately, 2.0, but for testing, I've been using 4.1.

 

/cbp

0 Kudos
Message 3 of 4
(3,361 Views)

Isolated to a case of Operator Headspace.

 

Had I been more diligent when re-reading, I'd have seen the direction to use "Access Create Generic Recordset Result Tables.sql."

 

Using this set of scripts created tables with the correct attributes.

 

/cbp

0 Kudos
Message 4 of 4
(3,348 Views)