LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TestStand API Memory Leaks

Hey,

 

I've created an application in LabView that uses the TestStand Application Manager and API. When closing the VI, I always get a crash report. I'm releasing all the sequence file references obtained with the Engine, and I call Close Reference on all of the ActiveX objects I'm working with. Does anyone have any tips for what I'm missing or a method for debugging the problem?

 

Thanks,

Kevin

0 Kudos
Message 1 of 4
(2,694 Views)

Kevin,
Can you attach one of the crash reports that the application is producing?


Is this LabVIEW or TestStand that is crashing?


Can you attach the LabVIEW code that is using the TestStand API and list the functions that you are calling? Also, can you attach the TestStand Sequence file?


If you step over the code using Highlight Execution, do you notice any errors that are returned by any of the functions?


An example of using the TestStand API in LabVIEW is included here for reference:


Developer Zone: Access a Specific Module Class in the TestStand API with LabVIEW

Jared A.
Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,663 Views)

I believe it's LabView crashing.

 

I can start with the crash reports that I'm getting. I haven't noticed any errors. The problem only occurs after closing the main VI.

0 Kudos
Message 3 of 4
(2,660 Views)

Kevin,
I was able to open up the dump files you sent, and all of them appear to be having an issue with the following modules:

 

  • EST_Diagnostics
  • NtQueryInformationProcess

Do any of these sound familiar, or does this tie in to any parts of the LabVIEW VI? If you can attach a copy of the LabVIEW VI that is causing the issue, I can take a look at it. Thanks!

Jared A.
Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,638 Views)