LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Embedding Windraw in a child window, or other video tearing solutions?

When I display video from a camera in an imaq image indicator on the front panel, I get obvious video tearing for fast-moving objects (like waving a hand). After some googling, I tried using WinDraw and WindNonTearing. While this does work, for the esthetics of the UI, I don’t want the video to show up in a separate pop-up window. How do I include the WinDraw window as a subpanel on my front panel? Or, is there something else I should be trying? I did find a former post someone made about making WinDraw a child window using DLL calls, but it didn’t go into enough specifics and I wasn’t sure how to do it.

0 Kudos
Message 1 of 3
(3,448 Views)

Hi Patrick_Lu,

 

I’m not aware of a method of embedding a WinDraw window into the Front Panel, but I found something similar to the method you described. I’ve linked it below incase this was not what you were referencing, and haven’t seen it.

 

http://stackoverflow.com/questions/6128261/labview-imaq-winddraw-external-display-embedding

 

Another option you might consider is using the IMAQ WindMove to have the WinDraw window appear in a desired location.

 

I hope this helps!

 

- Kale

0 Kudos
Message 2 of 3
(3,295 Views)

Yeah, that was the one I was referring to :). Didn't fully understand it, and I I'm leery about trying DLL calls that I don't fully understand.

0 Kudos
Message 3 of 3
(3,279 Views)