LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LabWindows panels versus operating system windows

I have a radar system that outputs video, and I'm trying to display the video in a LabWindows application under Windows 10 (64-bit). We import the video into the PC using a Matrox ClarityUHD frame grabber. The Matrox libraries contain a function allowing me to select an HWND in which to display the video.

 

If I create a window using the CreateWindow function from the Windows SDK and assign the frame grabber video to that window, it works as expected. But if I create a LabWindows panel, get its HWND using GetPanelAttribute with ATTR_SYSTEM_WINDOW_HANDLE, and try assigning the frame grabber video to that handle, the video flickers on and off.

 

Is there some difference between LabWindows panels and operating system windows that's making it act this way? Is there some attribute of the panel or the underlying HWND that I can set to make it work properly?

0 Kudos
Message 1 of 1
(550 Views)