NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Have an error creating an extra result in UUT_Results Table:

Solved!
Go to solution

Search NI site and found info on how to create extra loggin value in the UUT_Result table.  I copied and saved both the database.seq and standard process model.  parameter was added to database.seq.  parameter added to the callback, then added a local variable to model.  I did every step in order, then verify the schema was correct and logging property was added.  I still get the following error and not sure if a step was missed.

 

An error occurred calling 'LogUUTResult' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred while setting a column value.
Statement: UUT_RESULT.
Column: WO_NUMBER
Property: Measurement.[Measurement 1]
Unknown variable or property name 'Logging.WO_Number'.

 

Source: TSDBLog

 

Error Code:  -17306; Unknown variable or property name.

 

Location:  Step 'Log UUT Result' of sequence 'SequenceFilePostResultListEntry' in 'SequentialModel2.seq'

0 Kudos
Message 1 of 5
(3,407 Views)

Retried the steps listed to create a new logging property, still get error logging,  does not like logging.ModelNumber, but will pull it in as a stationglobal.

0 Kudos
Message 2 of 5
(3,390 Views)

Error occurs  here.  Step 'Log UUT Result' of sequence 'SequenceFilePostResultListEntry' in 'ModSequentialModel.seq'  I have included the modified sequence model and database.seq

Download All
0 Kudos
Message 3 of 5
(3,388 Views)

Hello,

 

It sounds like you are trying to grab your variable from the logging container, though it looks like you added it to the locals container. If you try changing it to locals does it work?

 

Best Regards,

 

Adam G 

National Instruments
Applications Engineer
0 Kudos
Message 4 of 5
(3,386 Views)
Solution
Accepted by topic author hallawt2004

I believe I was having two different problems.  I was able to log the extra content under the UUT_Results, however I had to change my database logging settings.  I disabled additonal results, and everything started working.  I have always had a problem with enabling the additonal results check box, and was never given a reason why.  This happens with just standard features.

So the last error pointed to the enabling of additional results, so I unchecked it, and was able to get my database table populated.

Thanks for the reply.

0 Kudos
Message 5 of 5
(3,384 Views)