NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'

HI,

I'm getting this run-time error:
Details: An error occurred calling 'LogResults' in 'ITSDBLog' of 'DBLog 1.0 Type Library'
An error occurred executing a statement.
Schema: ATE_database_multiplePC.
Statement: STEP_RESULT.
Unknown variable or property name 'TS_LoggingTemplate'.
Error accessing item 'Locals.TS_LoggingTemplate.ExecutionOrder'.
Source: TSDBLog
Error Code: -17306; Unknown variable or property name.
Location: Step 'Log Results to Database' of sequence 'Log To Database' in 'Database.seq'

What does it mean?
How to resolve this?

I can't fine the property 'TS_LoggingTemplate'...where does TS looking for it?

It seems as if TS is looking for local called 'Locals.TS
_LoggingTemplate.ExecutionOrder'. In what sequence? I couldn't find it in my sequence or Databse.seq or SequentialModel.seq

Thanks
Rafi
TestStand 3.0
0 Kudos
Message 1 of 2
(3,036 Views)
Rafi -

Locals.TS_LoggingTemplate is a temporary variable that the On-The-Fly feature of the Database Logging component creates to manage state while attempting to log results as it goes.

I assume that you are using a custom schema and that you are attempt to log on the fly. It appears that the custom schema definition is confusing the database logging component in a way that we did not expect, so the error message is not very clear.

In general if you are developing a custom schema, you should test the schema with On-The-Fly off first, get it working and then turn it back on.

Questions:
1) If you turn off On-The-Fly logging, do results log properly?
2) Can you post your TestStandDatabaseOptions.ini in the TestStand config directory.

Scott R
ichardson (NI)
Scott Richardson
https://testeract.com
0 Kudos
Message 2 of 2
(3,036 Views)