NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Chage Process model to log to a database

Solved!
Go to solution

I am new to TestStand and I was wandering how to change the process model in order to log into a database. When I use the sequence editor, it log correctly to the database. But when I use a C# interface, to execute the tests sequence, it generate a file insted...

 

Any help will be appreciate,

Thanks !

0 Kudos
Message 1 of 3
(2,945 Views)
Solution
Accepted by topic author MarcHetuIntelia

I'm assuming they are on different computers?  because the model plugin settings are stored in the TestStand config folder.  Here is a start to understanding model plugins: https://www.ni.com/docs/en-US/bundle/teststand/page/process-model-plug-in-architecture.html

 

Essentially model plugins are used to abstract the result processing away from the process model so that you have more flexibility and control with what type of report you need/want.  You can turn them on and off in the result processing screen (Configure>>Result Processing...).  The settings for these are stored in a file located in the TestStand config folder ("C:\ProgramData\National Instruments\TestStand 2019 (64-bit)\Cfg\ModelPlugins\ResultProcessing.cfg").  This file contains whether or not TestStand will log to a database, output to a report or both.  Make sure you have the same file on both PCs.

 

Hope this helps,

jigg
CTA, CLA
testeract.com
~Will work for kudos and/or BBQ~
Message 2 of 3
(1,861 Views)

Thank you very mutch jiggawax !

 

In fact, both program were executed on the same computer but both were not using the same ResultProcessing.cfg file. One of the program was using the 32bits version and the one was using the 64bits version.

 

Again your help was very appreciate !!

0 Kudos
Message 3 of 3
(1,814 Views)