09-16-2021 08:30 AM
Hi,
I would appreciate help trying to narrow the freeze/crash I have with my program. The controller freeze, the only way is to reset the controller. I've attached the error log.
Here are the main debut output:
Loading VI Heap, HeapClass "FPHP", /home/lvuser/natinst/bin/startup.rtexe/88004051_2017/LabVIEW/Main VI
DWarn 0x870E9989: PlugIn confused, instances not same, or nothing current
/builds/labview/2017/source/panel/PlugInDDOSupport.cpp(113) : DWarn 0x870E9989: PlugIn confused, instances not same, or nothing current
Thank you
Patrick
09-16-2021 09:12 AM - edited 09-17-2021 07:35 AM
I am not a vision expert, so my advice will be limited to general advice.
I did find a reference to the same error message for another support case. In that instance the application was acquiring vision data to a buffer while reading the data for processing, in parallel.
The developer rewrote the code to force the image acquisition and analysis to run sequentially. This stopped any attempts to write and read the buffer in parallel. It also stopped the error.
The above may not apply to you, but it may point you in the right direction. Check to see if the application is writing and reading image buffers at the same time.
09-17-2021 07:18 AM
Thank you.
I think those warnings are not related to by freeze finally. I have those warnings on an other controller that don't freeze.
I dig around the image management and it look that I have a memory leak. I can post in the vision forum for those questions. I can't free up physical memory, even with a IMAQ Dispose all (TRUE).
I will dig into that part of my code today.
thanks.
09-17-2021 12:36 PM
Not sure I have a memory leak after reading this post :
11-18-2021 08:47 AM
Hi,
I found the source of the problem, but I still don't understand.
The controller freeze after some time when using this function: 2017\vi.lib\vision\Operator.llb\IMAQ Add
Let me know if you have an idea please.
I would like to get rid of this freeze and need to do that simple Add function.
Thank you.