NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with .NET adapter

When I make multiple calls into a .NET 2005 DLL from the TestStand process model the C# RTOI crashes with the following error message recorded in the event log ( 

.NET Runtime version 2.0.50727.3082 - Fatal Execution Engine Error (7A0979C6) (80131506)).

 

I am running multiple executions setup to loop in the TestUUTs execution entry point. The code was changed to a very simple function (shown below) to help identify the problem. When the steps that call are set to "force to pass" the RTOI runs fine indefinately. Once the steps are set back to "Normal" The RTOI crashes after running for twenty minutes or so.

 

I am using TestStand 3.5.

 

using System;

using System.Collections.Generic;

using System.Text;

namespace ClassLibrary1

{

public class Class1

{

public bool test(string str, string str2, string str3)

{

System.Threading.
Thread.Sleep(50); return true;

}

}

}

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

Force Pass does not execute the step.  It just acts as though the step passed.

 

What is your memory doing during this time?  Run it with task manager open and see if the memory is going up and up.

 

Does it always take about the same amount of time to crash or does sometimes it crash right away and other times it takes longer?

 

Regards,

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