Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

What is cause of ExecutionEngineException?

My application, which gathers data from a DAQ card (PCI-6229), sometimes experiences an ExecutionEngineException upon termination within the Visual Studio 2005 IDE. "Sometimes" equals: 1) about 40% of the time when I have actually acquired data from the DAQ card and written it to file and 2) never if I have not acqured any data.

I do not experience any exceptions when running outside the debugger but my testing has not been exhaustive in this mode.

Is this likely to be my issue, NI's issue, or Microsoft's issue?

 

Thanks,

Paul Alley

 

PS- I filled out a bunch of software/hardware info but I don't see it on this screen so I'll assume it was lost.

In any case, I am running Measurement Studio 8.1.1 with Visual Studio 2005 using DAQmx 8.8.20

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

Hello palley,

 

I have been looking at some Microsoft forums and it looks like this issue exists outside of data acquisition applications.  I do not know what version of .NET you are using, but, as is a usual support step, you should probably be using the most current version, 3.5.  I have looked through many of our resources and did not see this as a common issue with our products, but I would encourage you to keep this forum updated on any information you figure out on this problem.

 

One thing that stood out in my research however,  was that this problem could occur due to uncompiled or not recently compiled libraries in your code.  This could be the reason you are seeing this issue in debugging mode, but not outside of debugging.

Regards,
Dan King

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