10-04-2023 03:21 AM
Hello,
i am see often, that CVI crashing by aquire an Image using (GetCtrlDisplayBitmap) from ActiveX Control.
if(GetCtrlDisplayBitmap(g_tabPanelHandle0,TABPANEL0_PATCONNECT,0,&bitmap) > -1 && bitmap != 0)
{
SetCtrlBitmap(g_tabPanelHandle1,TABPANEL1_PICBUTDATA,0,bitmap);
DiscardBitmap(bitmap);
ProcessDrawEvents();
}
I have all try out with delay's or Re -refreshes, but ever the same , the runtime goe's crashed after a period of succseeded grabbing and putting Image.
The actual Camera Image has 52MB per Frame, in my other solution i have 2MB but in booth its crashed frequently by random.
Thx for Any Help
Karsten Schulz (www.FlexxVision.de)
10-13-2023 09:11 AM
No idea, but can you try GetCtrlBitmap() instead ?
Can you try it on a different control just for a test ?