NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Model Plugin Otf issue

Hi all,

I'm developing a model plugin to write results into a custom database.

With OFT mode, sometimes some results are not written, sometimes it is written.

 

I think it's working when I debug and put some breakpoints and make step by step. If I run without debugging, the results are not managed.

 

Do I have to manage something linked to synchronization?

 

Thanks in advance for your help

 

 

0 Kudos
Message 1 of 3
(2,251 Views)

@maxmont wrote:

sometimes some results are not written, sometimes it is written.


Do you mean that results are not written after every step, or not written at all?

 

If the former, you should look into the processing interval and maximum # of results settings here:

https://www.ni.com/docs/en-US/bundle/teststand-api-reference/page/tsref/advanced-result-processing-s...

 

By default, TestStand doesn't log results after every step for performance reasons.

 

Hope this helps!

Trent

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(2,175 Views)

I mean, if I run the test normally some result tests are always written, others are never written.

If I debug (putting breakpoint, make step by step, ...), the results which are never written can be written.

 

I mean that result processing doesn't have the same behavior if I run normally or with debugging action.

 

That's why, I think that result processing is dependant on synchronisation or something like that...

 

0 Kudos
Message 3 of 3
(2,167 Views)