09-12-2011 08:04 PM
CVI 7.1.1
CVI Dll called by TestStand 3.1.1
When run the sequence 2nd time, RunUserInterface cause general protection fault.
Manually unload all modules in TestStand doesn't help.
However, manually stop tscvirun in CVI, after 1st run, works.
DiscardPanel is called in the 1st run.
How to find what resources is holding in memory?
TIA.
Solved! Go to Solution.
09-13-2011 09:11 AM
Hi George,
All steps in Teststand are loaded at sequence execution by default and not unloaded until the sequence is unloaded from memory. To change this, go into the Run Options of the Step Settings Properties and modify the Load and Unload Options.
I hope this helps and wish you luck on your project!
Regards,
Jackie
09-13-2011 11:32 AM
Still got general protection fault after I changed the unload option to unload after execution, and manually close the sequence file.
Is there a way to automatically stop tscvirun ?
tscvirun is still running even I close the sequence file.
09-14-2011 02:44 PM
Problem solved. There are dynamically created tabs (using EasyTab_ConvertFromCanvas) on the panel, doesn't close when discard panel.