NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Accessing custom step type when logging to database

I am struggling with several aspects of TestStand 2017, but a big one is how to access specific information associated with specific step types when logging to a database.  I'm interacting with an Access database.  For instance, a Multinumeric test has an array of results that I can access within TestStand expressions inside my step:

PghFool_0-1678300890076.png

But when I try to use the expression in the "Value to Log" entry of a database element, I get "Unknown variable or property name".

Complete error  message:

An error occurred calling 'LogResults' in 'ITSDBLog' of 'zNI TestStand Database Logging'
An error occurred while setting a column value.
Schema: CSM Test Schema
Statement: EncoderMultiRecordPoint2.
Column: PassFail
Unknown variable or property name 'Step.Result.Measurement'.

Source: TSDBLog

 

I'm hoping that once I understand the syntax to refer to a step-specific property like the Measurement array in a multi-numeric, I will be able to use similar syntax to access the custom data types I've created for my custom step types.

 

Chris

 

PS. If there's a reference that gets into the details of constructing database statements with the TestStand window, I'd love to hear about it.

0 Kudos
Message 1 of 1
(707 Views)