NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Configurable teststep and database logging

As described in application note AN 186 I did create a custom test step,"combined" it with the standard numeric limit test and the tried to log the results into a Access database using the standard Teststand Database logging. Since I derived that custom teststep from the "normal" numeric limit test step , I expected that teststep to fill both the STEP_RESULT and the MEAS_NUMERICLIMIT database tables. But only the STEP_RESULT table is filled. A "normal" numeric limit test works fine in that sequence. Where do I have to check settings and/or modify code to get the database logging working ?
0 Kudos
Message 1 of 2
(2,916 Views)
Hello Markus -

All you should need to do is adjust your database schema to expect these custom types. The step specific tables such as MEAS_NUMERICLIMIT filter what to store in them based on type name, i.e. NI_LimitMeasurement or NumericLimitTest...

To customize things, go to Configure>>Database Options (make sure you can edit your current schema), and go to the 'Statements' tab. You will need to highlight the STEP_NUMERICLIMIT table, and alter the "Types to Log" field so that it includes your custom type(s). Type names are seperated by commas e.g. "NumericLimitTest, CustomTest, CustomTest_2". You may need to do the same sort of alteration on the MEAS_NUMERICLIMIT table to have your custom data stored in all the same places as your default steptypes.

Let
me know if this doesn't get your data in the file.

-Regards

Elaine R.
National Instruments
http://www.ni.com/ask

0 Kudos
Message 2 of 2
(2,916 Views)