11-13-2006 08:41 AM
11-14-2006 11:12 AM
Hi Harvey,
I have found two TestStand knowledge base articles that may help you understand your problem.
The first, TestStand Run-Time Error -10 When Opening Database Repeatedly, discusses error -10 when accessing a database repeatedly; however, I believe that the situation described in this knowledge base may be a little different from your problem because you only open and close your database once. That said, it may be worth investigating your version of MDAC and potentially downloading a later version (as described in the article).
The second knowledge base, Why Does the TestStand Memory Usage Increase Over Time when I Am Running Loops with Large Iteration ..., discusses problems when TestStand executes for long periods of time. There are two solutions in this document: 1) Disable result collection for the loop or 2) Generate your report on the fly. I believe this might be your problem because you said when you increased the virtual memory you were able to execute longer.
I would recommend that you take a look at these two knowledge bases and get back to us with your results.
Matt M.
National Instruments