Hi, I'm using the Matrox MIL library to continously grab pictures from a camera. When I want to display the result of the grab in a CVI panel, this display is flickering. Can someone help me to solve that.
Regards.
can you please give us more details about your application ?
what type of control do you use for displaying the image, and which function do you call to transfer the image to the display ?
Hi, in fact I'm using MdigGrab and I would like to display the content of my buffer into a CVI panel by using directly its window handle. It's seems working curiously, because the display is flickering (or flashing). Maybe could I use a Canvas control instaed of directly using the panel, but I'm not able to get the Windows handle of a control.
i don't remember how displaying an image works when using the MIL...wasn't there a set of display functions (Mdisp...() functions ) with the possibility to set some attributes ? (i'd like to get my hand on the MIL manual... i can't find it)
however, i can tell you that you will never be able to get a window handle from a control: CVI does not use the standard Windows way for building user interface, so controls are not standard window and have no window handle. the message queue prionciple is there, but managed a bit differently than standard windows. that may explain the flickering you observe.